Update Jenkinsfile

This commit is contained in:
Daphne Augier 2020-04-11 18:02:34 +02:00 committed by GitHub
parent e852f854c6
commit 580af0f3cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

4
Jenkinsfile vendored
View file

@ -20,9 +20,7 @@ pipeline {
} }
stage('Deploy') { stage('Deploy') {
when { when {
expression { branch 'master'
currentBuild.result == null || currentBuild.result == 'SUCCESS'
}
} }
steps { steps {
echo "DEPLOY!" echo "DEPLOY!"