diff --git a/Jenkinsfile b/Jenkinsfile index cb030b09a..314f7b8f1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,9 +20,7 @@ pipeline { } stage('Deploy') { when { - expression { - currentBuild.result == null || currentBuild.result == 'SUCCESS' - } + branch 'master' } steps { echo "DEPLOY!"