I have some jobs that are being configured using a GitHub Organisation. This all works fine. Some of these jobs should only run on cron
triggers, not on every commit to the repository.
My problem is, how can I change the triggers without actually building the job. If I modify the Jenkinsfile and push it to the repo, I can config Jenkins to either build it or not.
But if I don't want to build it on commit, I also don't seem to get any new config from my Jenkinsfile, like new cron
triggers.
So how can I reconfigure cron
triggers without actually running the job?