How can I get Jenkins SCM polling to accumulate changes? -
i have job takes while complete , quite resource heavy. ever want run 1 instance of job @ time, , if there new scm changes.
i set scm trigger , left off checkbox "execute concurrent builds if necessary".
the problem have queues next build on first scm change detects.
what want whenever scm trigger sees change, replaces job queued new job, newer scm revision. don't want running new instance next change, , don't want ton of jobs queued up.
basically, want job run in loop, , pause if there no scm changes.
how do that?
you might looking quiet period
option under advanced project options
section.
you can set value (in seconds) quiet period
per requirement. reduce frequency of builds.
Comments
Post a Comment