Exclusive Execution Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID exclusive-execution Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Jul 31, 2011
Source Code
Issue Tracking
Open Issues
Marco Ambu (id: mambu)
Sam Tavakoli (id: sata_)
Usage Installations 2013-Apr 443
2013-May 428
2013-Jun 462
2013-Jul 482
2013-Aug 456
2013-Sep 491
2013-Oct 522
2013-Nov 531
2013-Dec 534
2014-Jan 539
2014-Feb 520
2014-Mar 546

Allows a job to be executed when no other jobs are running.

Possible uses

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.

How it works

When this option is enabled, then for every build one pre-build and one post-build steps are executed:

pre-build steps:

  1. Jenkins shutdown mode is activated (no new jobs will start)
  2. wait until all current running jobs (except the one that is executing) have completed* then the configured build steps are executed

post-build steps (executed always even if the build is not succesful):

  1. Jenkins shutdown mode is canceled

Version History


Version 0.7 (Jul 31, 2011)

  • Major refactoring by Sam Tavakoli

Version 0.6 (Feb 25, 2011)

  • Improve error handling
  • Translation update (Japanese)

Version 0.2 (Apr 15, 2010)

  • Removed limitation of execution on master
  • Removed useless dependencies from pom.xml that create a huge hpi file

Version 0.1 (Apr 13, 2010)

  • Initial release
Unfortunately the hpi file is huge (~17 MByte)... sorry
  • Job must be executed on master


plugin-buildwrapper plugin-buildwrapper Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.