Update Jenkinsfile

This commit is contained in:
Claudia Lapalme 2020-03-16 12:07:42 -04:00 committed by GitHub
parent 4ce785806e
commit f788ac6f5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

4
Jenkinsfile vendored
View file

@ -1,3 +1,5 @@
final boolean doNotSkip = false;
pipeline { pipeline {
agent any agent any
stages { stages {
@ -17,9 +19,11 @@ pipeline {
} }
} }
stage('Deploy') { stage('Deploy') {
when (doNotSkip) {
steps { steps {
sh './mvnw deploy' sh './mvnw deploy'
} }
} }
} }
} }
}