Skip to content

Commit

Permalink
Config jenkins to publish only at master and devel branchs
Browse files Browse the repository at this point in the history
  • Loading branch information
pope1838 committed Feb 14, 2019
1 parent c6f67fc commit 69659cc
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 @@ -32,6 +32,12 @@ pipeline {
}
}
stage('Publish') {
when {
anyOf {
branch 'master'
branch 'devel'
}
}
steps {
sh 'sbt -Dsbt.global.base=.sbt -Dsbt.boot.directory=.sbt -Dsbt.ivy.home=.ivy2 publish'
}
Expand Down

0 comments on commit 69659cc

Please sign in to comment.