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

3
Jenkinsfile vendored
View file

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