jenkins

Temporarily stop all scheduled jobs in Jenkins from running


I'm in the process of migrating Jenkins from one server to another. I've no issues with the migration process.

But sooner I start my new server the scheduled jobs start executing, which is proving to be dangerous. I need to make sure that everything is in place before activating the new server.

Is there any way to deter any of the jobs from executing while the new server is active?


Solution

  • Setup a post-initialization script that puts Jenkins into quiet mode right after startup.

    https://wiki.jenkins.io/display/JENKINS/Post-initialization+script