diff --git a/Jenkinsfile b/Jenkinsfile index 98f1ceb..4e93623 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -75,7 +75,7 @@ ], inLabels: [ 'ubuntu-16', 'centos-7' ], onLabels: [ default: 'master', docker: 'docker', mac: 'mac', android: 'android', ], - noPoll: '(releaseBranch|.+_.+)', + noPoll: "(${releaseBranch}|.+_.+)", // Don't poll release and private branches ) lazyStage {