Skip to content

Commit

Permalink
Fixed Jenkinsfile method
Browse files Browse the repository at this point in the history
  • Loading branch information
iphayao committed Sep 22, 2020
1 parent 1ac8a50 commit 761d643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cicd-common/Jenkinsfile
Expand Up @@ -3,7 +3,7 @@ String validateFileChange(projectName) {
for(changeSet in currentBuild.changeSets) {
for(entry in changeSet.getItems()) {
for(file in entry.getAffectedFiles()) {
if(file.getPath().startWith(projectName)) {
if(file.getPath().startsWith(projectName)) {
print 'Change occured in project ${projectName}'
res = true
}
Expand Down

0 comments on commit 761d643

Please sign in to comment.