-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
I want to be able to use trigger with cron but only for the master branch.
if and when both don't work in the trigger context.
Here is what I expected to work:
if (env.BRANCH == 'master') { trigger { cron('@daily') } }
- is duplicated by
-
JENKINS-48898 Multibranch pipeline: conditional triggers
- Closed
- relates to
-
JENKINS-52203 Provide a 'prerequisites' sections (like triggers) that allows blocking the execution of a job
- Open