Skip to content

Commit

Permalink
ci: avoid null build names in master builds
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Kwiek <maciej@isovalent.com>
  • Loading branch information
nebril authored and aanm committed Apr 2, 2020
1 parent 99b51ab commit b839acd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jenkinsfiles/ginkgo.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ pipeline {
stages {
stage('Set build name') {
when {
not {environment name: 'GIT_BRANCH', value: 'origin/master'}
allOf {
not {environment name: 'GIT_BRANCH', value: 'origin/master'};
not {environment name: 'GIT_BRANCH', value: 'master'};
not {branch 'master'}
}
}
steps {
script {
Expand Down

0 comments on commit b839acd

Please sign in to comment.