On Thursday, May 9, 2013 1:02:58 PM UTC-7, Mandeville, Rob wrote:
>
> I believe that the behavior you are seeing is by design.  The concurrent 
> builds checkbox allows you to run multiple instances of that job at all, 
> but the SCM poller will only launch one at a time.  Basically, with the 
> checkbox you could kick off as many builds as you wanted manually. 
>

This isn't quite right. SCM polling is independent of individual builds. 
The fact that SCM polling is blocked while a build is in progress sounds 
like a bug in the Mercurial plugin.

What should be happening is that every half hour, Jenkins will poll your 
configured source location in Mercurial for changes. If there are changes, 
a new build is scheduled into the build queue. If the project is not marked 
as able to run concurrently, and there is no in progress build of the job, 
and there is an available executor, then the new build will start. If there 
is a build of the job in progress, the new build will wait in the queue 
until the previous build completes. If, at the next polling interval, there 
is yet another change detected, and the first build is still in progress, 
the build in the queue is updated to check out from the new revision. In 
other words, there is normally only one outstanding build of the project in 
the queue at a time.

If the project is configured to run concurrently, Jenkins will assign the 
build to an available executor, even if another build of the same project 
is still in progress.

Yet another possibility is if you have some mutex or semaphore configured 
(via Throttle Concurrent Builds, Port Allocator, Locks and Latches, or some 
similar plugin), and that is preventing multiple builds from running at 
once.

  -- Dean

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to