diff --git a/Jenkinsfile b/Jenkinsfile index eaa5c82..4965fc2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -76,7 +76,7 @@ inLabels: [ 'ubuntu-16', 'centos-7' ], onLabels: [ default: 'master', docker: 'docker', mac: 'mac', android: 'android', ], cronPoll: '@hourly', // Fallback only if post-commit failed - noPoll: "(.+_.+)", // Don't poll or automatically trigger release and private branches + noPoll: "(${releaseBranch}|.+_.+)", // Don't poll or automatically trigger release and private branches ) lazyStage { @@ -90,7 +90,6 @@ }, run: { echo "This is my first task" - echo "This is my second task" }, ], /* [ run: { echo "This is my second task" }, in: '*', on: 'docker' ],