diff --git a/Jenkinsfile b/Jenkinsfile index 75fdd5c9b21bf..b63118d5f4fc3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -151,7 +151,9 @@ pipeline { } stage('Feature build and publish') { when { - branch pattern: "(feature\\/LOG-\\d+)", comparator: "REGEXP" + expression { + CURRENT_BRANCH ==~ /feature\/LOG-\d+/ + } } steps { script {