-
Bug
-
Resolution: Won't Fix
-
Minor
-
Jenkins 2.52
os.arch amd64
os.name Linux
os.version 2.6.32-431.5.1.el6.x86_64
blueocean-* 1.0.0-rc2
github-branch-source 2.0.4
workflow-multibranch 2.14
We use the snippet
triggers {
pollSCM('H/5 * * * *')
}
to poll Github to pick up new changes to the branches.
This works fine, but when we click on the "Scan Repository Now" button or Jenkins runs "Branch Indexing" at odd hours in the morning, it will pick up a change in the hash of the latest commit, even though that commit has already been picked up and build via the polling.
It would be amazing if the pollSCM, when picking up a change, updated the stored hash, so we don't get double builds (mostly because it's spinning up our dev stack at 4am; but also because it's annoying when we're trying to pick up a new branch and it builds everything else as well).
Thanks