Exclusive Execution Plugin

Plugin Information

Plugin ID exclusive-execution
Latest Release 0.4
Latest Release Date Jan 31, 2011
Sources Github
Support Eclipse Hudson Forum
Issue Tracking Eclipse Bugzilla

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 hudson backup script. To run it from hudson 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. # hudson 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. hudson shutdown mode is canceled

Version History

Version 0.4 (2011/01/31)

Version 0.2 (2010/04/15)

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

Version 0.1 (2010/04/13)

Initial release

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

Labels:

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