Allows a job to be executed when no other jobs are running.
Execute a backup job: because backup-plugin cannot be scheduled, then I have created my own Jenkins backup script. To run it from Jenkins I crated a 'maintenance' job that must execute when there are no other job running, so this plugin can help perform this backup procedure.
When this option is enabled, then for every build one pre-build and one post-build steps are executed:
- The plugin will initiate a shutdown mode which means that no other jobs can be started.
- It waits until every job except this one has finished, unless it is indicated not to wait through optional flag.
- Then it starts to execute the job.
post-build steps (executed always even if the build is not succesful):
- Jenkins shutdown mode is canceled
- issue #26175 Optional lenient mode added. If activated exclusive-execution job will not wait for currently running jobs to perform build steps (i.e. activate shutdown mode immediately).
- issue #26351 Spanish translation added.
- issue #24854 Shutdown mode is interrupted now if job is canceled in pre-build phase.
- Fernando Miguélez becomes maintainer of the plugin
- Major refactoring by Sam Tavakoli
- Improve error handling
- Translation update (Japanese)
- Removed limitation of execution on master
- Removed useless dependencies from pom.xml that create a huge hpi file
- Initial release
Unfortunately the hpi file is huge (~17 MByte)... sorry
- Job must be executed on master