Update Jenkinsfile

deploy only when on master branch
This commit is contained in:
walter 2020-03-11 20:34:53 -04:00 committed by GitHub
parent c12d53c54e
commit 2b26c4fb27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

1
Jenkinsfile vendored
View file

@ -20,6 +20,7 @@ pipeline {
}
stage('Deploy') {
when { branch 'master' }
steps {
sh 'mvn deploy'
}