Throttle plugin with a category.

On Sunday, November 25, 2012 7:46:04 PM UTC-8, cliffano wrote:
>
> Hi all,
>
> I'm wondering what do you use nowadays to prevent multiple jobs from 
> building at the same time.
>
> - lock and latches plugin
> Its lock mechanism does not work when multiple jobs sharing the same lock 
> are triggered at the same time, log files indicate that both jobs acquire 
> the lock.
>
> [locks-and-latches] Checking to see if we really have the locks
> [locks-and-latches] Have all the locks, build can start
>
> locks and latches plugin is proposed to be deprecated 
> https://wiki.jenkins-ci.org/display/JENKINS/Proposed+Plugin+Deprecation , 
> but the replacement plugins don't seem to provide the same functionality.
>
> - setting number of executors to 1 to make sure only one job can be built 
> at the same time
> this is obviously only a work around, and not a good idea to underutilise 
> a build server
>
> - chaining the jobs and use 'Block build when upstream/downstream is 
> building'
> Not all projects can be chained.
> The chain only works for one up/down stream away job in the chain.
>
> How do you prevent multiple jobs from building at the same time?
>
> Cheers,
> Cliff.
>

Reply via email to