Skip to content

Commit 825d32c

Browse files
Merge pull request #185 from ChrisPark89/fix/jenkins
Change Jenkins file
2 parents ed2d822 + ea4308e commit 825d32c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Jenkinsfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ pipeline {
218218
//sh("npm set @zowe:registry https://api.bintray.com/npm/ca/brightside/")
219219
sh("npm set @zowe:registry https://registry.npmjs.org")
220220

221-
sh("npm install -g @zowe/cli@latest")
221+
sh("npm install -g @zowe/cli@daily")
222222
sh("zowe --version")
223223
}
224224
}
@@ -536,6 +536,9 @@ pipeline {
536536
expression {
537537
return BRANCH_NAME == MASTER_BRANCH
538538
}
539+
expression {
540+
return GIT_COMMIT =! GIT_PREVIOUS_SUCCESSFUL_COMMIT
541+
}
539542
}
540543
}
541544
steps {
@@ -587,6 +590,9 @@ pipeline {
587590
expression {
588591
return BRANCH_NAME == MASTER_BRANCH
589592
}
593+
expression {
594+
return GIT_COMMIT =! GIT_PREVIOUS_SUCCESSFUL_COMMIT
595+
}
590596
}
591597
}
592598
steps {

0 commit comments

Comments
 (0)