Add sbt branch to allowed snapshots branches for deployment tests
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/938aada0 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/938aada0 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/938aada0 Branch: refs/heads/master Commit: 938aada035261f608342fd16bba8cf22cb1158d9 Parents: e12bfd6 Author: Matt Sicker <[email protected]> Authored: Fri Mar 30 14:02:25 2018 -0500 Committer: Matt Sicker <[email protected]> Committed: Fri Mar 30 14:02:25 2018 -0500 ---------------------------------------------------------------------- Jenkinsfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/938aada0/Jenkinsfile ---------------------------------------------------------------------- diff --git a/Jenkinsfile b/Jenkinsfile index 13614bb..c51e27c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,7 +39,12 @@ pipeline { } } stage('Deploy') { - when { branch 'master' } + when { + anyOf { + branch 'master' + branch 'sbt' + } + } steps { ansiColor('xterm') { withCredentials([
