Hello all,
I set up a cron trigger in my Jenkinsfile of the master branch, but now new branches are also built by this trigger at night. I would like to limit this behavior to my 'master' branch.
How would you do that ?
I know I can abort the build if I detect that that a cron triggered it but I dream of a simpler way.
pipeline {
triggers {
cron('H 5 * * 1,3,5')
}
...
regards
François