Only one build of a given job with a given set of parameters (if your job uses 
parameters) can be queued at a time.  In short, after x hours have elapsed, the 
test will be queued once.

I don't remember if the polling stops once a job is queued, but even if it 
keeps going, it can't keep piling up the queued builds.

--Rob

From: [email protected] 
[mailto:[email protected]] On Behalf Of Phillip Campbell
Sent: Wednesday, June 19, 2013 11:44 AM
To: [email protected]
Subject: Re: Question about Jenkins polling

Hi,
Yes, you can set the job to be triggered by SCM change using the same cron 
style configuration for the polling interval.  I have jobs that poll only at a 
particular hour as you described.  If there are any changes, the job starts and 
if there are no changes, the job does not run.  The polling will only occur at 
the time(s) set in the configuration.

If you have a job that runs longer than the polling interval and there are any 
number of changes, the job will be queued to run.  If the job is already on the 
queue, it will not be queued again but will run as expected when it 
appropriate.  It will run with the latest scm data at the time the job starts, 
not running with the state of the scm at the time that it was queued.


On Wed, Jun 19, 2013 at 8:33 AM, David Aldrich 
<[email protected]<mailto:[email protected]>> wrote:
Hi

I think I understand the basics of Jenkins quite well but there is one area in 
which I am unsure how it will behave.

I have some long regression tests, which I trigger using cron type schedules.  
Typically, they run once per day at 8pm.  However, if no code changes have 
occurred that day, this is rather wasteful.  So I could, instead, start the 
tests in response to polling the code repository.

My question is, does Jenkins stop polling the repository while a job is running?

Suppose my test runs for x hours and, during that time, there are y commits.  
After x hours has elapsed, will the test be queued once or y times?

Best regards

David

--
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 
[email protected]<mailto:jenkinsci-users%[email protected]>.
For more options, visit https://groups.google.com/groups/opt_out.



--
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 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/groups/opt_out.


The information in this message is for the intended recipient(s) only and may 
be the proprietary and/or confidential property of Litle & Co., LLC, and thus 
protected from disclosure. If you are not the intended recipient(s), or an 
employee or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any use, dissemination, distribution or 
copying of this communication is prohibited. If you have received this 
communication in error, please notify Litle & Co. immediately by replying to 
this message and then promptly deleting it and your reply permanently from your 
computer.

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to