Skip to content
This repository was archived by the owner on May 14, 2018. It is now read-only.

Commit 126636c

Browse files
committed
Only perform the final publishing if branch is master
1 parent 99246ae commit 126636c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ pipeline {
9191
}
9292
}
9393
stage("Publish") {
94-
when { expression { !params.SKIP_INTEGRATION } }
94+
when { expression { BRANCH_NAME == "master" && !params.SKIP_INTEGRATION } }
9595
steps {
9696
script {
9797
docker.withRegistry("https://registry.hub.docker.com", "docker-hub-credentials") {

0 commit comments

Comments
 (0)