-
Bug
-
Resolution: Not A Defect
-
Critical
-
None
properties(pipelineTriggers([pollSCM('H/5 * * * *')])])
checkout() command using GitSCM
The branch configurations are created correctly (the triggers are registered). SCM poll log updates every 5 minutes, but shows "No changes" despite there being changes on the remote branch. When building, changes are picked up for Jenkins changelog and the "Last Built Revision" is correct - everything works ok, except that polling does not register changes and therefor not trigger.
I know I should use a commit hook, but for now this is not possible.
I'm unable to duplicate the problem.
Steps I took trying to duplicate the problem:
$ mkdir -p ~/git/bare/bugs/ $ cd ~/git/bare/bugs/ $ git clone --mirror https://github.com/MarkEWaite/jenkins-bugs
JENKINS-43687job runs successfullyJENKINS-43687branch, and push the change$ git clone https://github.com/MarkEWaite/jenkins-bugs $ cd jenkins-bugs $ git checkout -b JENKINS-43687 -t origin/JENKINS-43687 $ ant increment $ git push