Hi all,

i have a jenkins job that polls a git repository every 5 minutes. (These 
facts cannot be changed so please do not answer like increase the poll 
interval...)
The build time for the job is about 10 minutes. Now if the repository 
changes a build starts and during the build is running, exactly the same 
job is scheduled again twice.
So in the end for every change, jenkins runs the job 3 times. If the first 
run waits in the queue before running, it is even worse...

Is there a way to disable the git repository polling when a job is 
scheduled and re-enable it after it finished?

thanks for your answers.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9cdfcb6b-9dff-48f1-b003-48abff5b16be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to