Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Done
-
None
-
Jenkins 1.601
GIT client plugin 1.16.1
GIT plugin 2.3.5
Description
git-plugin does not detect changes and thus does not trigger builds
Git plugin used to detect changes when the specified branch was "feature/abc" but no longer does.
Does not detect:
Started on Mar 10, 2015 4:13:00 PM
Using strategy: Default
[poll] Last Built Revision: Revision 5...9 (refs/remotes/origin/feature/abc)fhuberts
using GIT_SSH to set credentials Git Credentials
> git --version # timeout=10
> git ls-remote -h ssh://myserver/myproject.git # timeout=10
Done. Took 0.81 sec
No changes
Does detect:
Started on Mar 10, 2015 4:16:00 PM
Using strategy: Default
[poll] Last Built Revision: Revision 1...e (origin/develop)
> git --version # timeout=10
> git ls-remote -h ssh://myserver/otherproject.git # timeout=10
[poll] Latest remote head revision on origin/develop is: 1...e - already built by 81
Done. Took 0.8 sec
No changes
Workaround:
Revert to GIT Plugin 2.3.4
Attachments
Issue Links
- is duplicated by
-
JENKINS-27491 kicking off of build via curl command not working in 1.16.1 version of plugin
-
- Closed
-
- is related to
-
JENKINS-28911 The Jenkins git-plugin (v 2.3.5) does not handle branch names containing a slash correctly.
-
- Closed
-
We're seeing this issue as well. We have polling setting "* * * * *" that polls repo each minute and when you push branch initially, it gets picked up in a minute. But further pushes to the branch will usually be picked up in something like 15-20 minutes which drives us crazy.
This mainly happens when no other work is going on in the repo. If some other branches are changing, then chances that your already pushed branch will be picked up faster than 15-20 minutes are much higher.
This looks like a state sharing + timing bug in Git Plugin. And yes, we also have "/" in branch pattern: `origin/pr/*/merge`.