Update Jenkinsfile

This commit is contained in:
Chen 2020-03-09 10:11:54 -04:00 committed by GitHub
parent 6fe9d6f021
commit fb19855733
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

9
Jenkinsfile vendored
View file

@ -18,10 +18,11 @@ pipeline {
} }
} }
stage('Deploy') { stage('Deploy') {
if (env.BRANCH_NAME == 'master') { when {
steps { branch 'master'
echo 'Deploy.' }
} steps {
echo 'Deploying'
} }
} }
} }