Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
Co-authored-by: Victor Martinez <[email protected]>
  • Loading branch information
ChrsMark and v1v authored Jun 30, 2021
1 parent 9d84c0b commit d07f483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ def getCommonModuleInTheChangeSet(String directory) {
def exclude = "^(${directoryExclussion}|((?!\\/module\\/).)*\$|.*\\.asciidoc|.*\\.png)"
dir("${env.BASE_DIR}") {
module = getGitMatchingGroup(pattern: pattern, exclude: exclude)
if(!fileExists(module)) {
if(!fileExists("${directory}/module/${module}")) {
module = ''
}
}
Expand Down

0 comments on commit d07f483

Please sign in to comment.