This plugin manages exclusion between jobs.
This plugin is inspired by Port-Allocator plugin.
The purpose of this plugin is to manage conflicts betweens jobs.
Exclusion plugin allows you to assign resources name to every job on Jenkins. This feature will be in charge of not building jobs that have same resources at the same time. Exclusion plugin is based on a semaphore system.
With the second part of the plugin you can, in an administration panel, see all resources currently configured in each job. You can also see when a resource is allocated and, thanks to the release button, you can release a resource currently in use.
First of all you have to activate the plugin by clicking on “Add resource to manage exclusion”. That allows you to add resources. Resources are represented by a name (String). You can add as much resources as needed.
Secondly you have to determine the critical zone, delimited by a start (Critical Block Start) and an end (Critical Block End). All builds steps that we can found in critical zone will be managed by Exclusion plugin.
If you don’t add a start block the plugin won’t be used. If you don’t add an end block, resources will be release after the last build step.
When you are on Jenkins home page you can go to the Administration Panel.
Here you can see all resources currently configured in each job. When a job is running and it’s using a resource you can see in Action “Currently Used”, it means that the resource is currently allocated, so the others jobs that have resource which have the same name can’t be run at this moment.
You can release a resource by selecting resource name in the combo box (that show only resources that are used) and clicking on “Release resource button”.
Skip to end of metadata Go to start of metadata