From 580af0f3cb9107fb02837bc017315a6abb4f4516 Mon Sep 17 00:00:00 2001 From: Daphne Augier <35980232+daphneaugier@users.noreply.github.com> Date: Sat, 11 Apr 2020 18:02:34 +0200 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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!"