-
Bug
-
Resolution: Won't Do
-
Major
In V2.3.5 of the git plug-in polling without detecting changes caused a build to run. With V2.3.6 and later this is no longer true.
We think the issue that changed this was:
https://issues.jenkins-ci.org/browse/JENKINS-29066
This, however, is a problem now.
We host our Git repos on Bitbucket (former Stash). Sometimes, we have to invoke "Trigger Build" even when there were no changes pushed to the Git repos. Since that trigger causes a polling for changes, this has no effect anymore with a version newer than V2.3.5.
Why Do We Need This, Anyway?
Build results can depend on external systems. If external systems are not available or not correctly configured, the build results are Failed. Now, if we fix those external systems problems, we want to just re-trigger the job to rebuild again.
- relates to
-
JENKINS-29066 Git plugin dev version 2.3.6-0c1a59a8 builds on every poll
-
- Closed
-
I don't see how we can satisfy the larger community of users who expect polling to behave the way it was described in the original post from Kohsuke (build only when changes are detected) and how you've asked that it behave (build every time polling happens, even if there was no change detected).
If you intend to build on a schedule, even if things have not changed, then couldn't you use the existing scheduled build facility to schedule that build?
Alternately, couldn't you use the "build now" link (or the authenticated version of that which will allow you to launch a build even if no changes are detected)?