Modify Jenkinsfile - Deploy conditional only master branch

This commit is contained in:
EvanMateo 2020-03-12 07:09:39 -04:00
parent c40b588cee
commit 01c7f122b3

3
Jenkinsfile vendored
View file

@ -17,6 +17,9 @@ pipeline {
}
}
stage('Deploy') {
when{
branch 'master'
}
steps {
bat "echo 'Pulling...' + env.BRANCH_NAME"
}