diff --git a/Jenkinsfile b/Jenkinsfile index b522254fd..17cce7160 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,7 +21,7 @@ pipeline { when { expression { GIT_BRANCH = sh(returnStdout: true, script: 'git rev-parse --abbrev-ref HEAD').trim() - return GIT_BRANCH == 'origin/master' + return GIT_BRANCH == 'master' } } steps { @@ -32,7 +32,7 @@ pipeline { when { expression { GIT_BRANCH = sh(returnStdout: true, script: 'git rev-parse --abbrev-ref HEAD').trim() - return GIT_BRANCH == 'origin/master' + return GIT_BRANCH == 'master' } } steps {