Jenkins : Concurrent Run Blocker Plugin

Plugin Information

No information for the plugin 'concurrent-run-blocker-plugin' is available. It may have been removed from distribution.

This plugin allows to prevent job to be schedule when same job + same parameters is already being executed.


For some use case, it don't make sense to schedule a job with same parameters than a RUNNING build. 

Jenkins takes care not to get same job scheduled multiple times in build queue with same parameters. This plugin adds an option that can be used to prevent job to be scheduled if a running build exists with same parameters.

Option is compatible with allowing concurrent execution of the job (with distinct parameters).

Typical use case is maintenance jobs, which parameter is the target resource, and don't depend on job initial state - compared to SCM build jobs that take an initial revision to build. You probably want such maintenance job to run concurrently so that maintenance windows keep small and all servers are maintained at ~ same time, but don't want two maintenance scripts to run concurrently on same target resource.