Skip to content

Commit

Permalink
try to fix ci
Browse files Browse the repository at this point in the history
Signed-off-by: chrismark <chrismarkou92@gmail.com>
  • Loading branch information
ChrsMark committed Jun 30, 2021
1 parent e584964 commit cedb7f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,12 @@ def getCommonModuleInTheChangeSet(String directory) {
def exclude = "^(${directoryExclussion}|((?!\\/module\\/).)*\$|.*\\.asciidoc|.*\\.png)"
dir("${env.BASE_DIR}") {
module = getGitMatchingGroup(pattern: pattern, exclude: exclude)
def fileName = "${module}/fields.go"
echo 'filename ${fileName}'
echo 'dir is ${env.BASE_DIR}'
if(!fileExists(fileName)) {
module = ''
}
}
return module
}
Expand Down

0 comments on commit cedb7f7

Please sign in to comment.