diff --git a/Jenkinsfile b/Jenkinsfile index efe3a26c..fcc64b28 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -184,7 +184,7 @@ pipeline { stage('Docs Job') { when { allOf { - when { branch pattern: "^(develop|master)$", comparator: "REGEXP"} + when { branch pattern: "^(develop|master)\$", comparator: "REGEXP"} not { equals expected: 'UNSTABLE', actual: currentBuild.result }