jenkinsci / jenkinsci/git-plugin
[JENKINS-24648] Git poll always finds changes when there is none when used with Gerrit trigger strategy
- Dominant language
- Java
- Stars
- 694
- Forks
- 1.1k
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 3
Description
I have gerrit configured to react on changes in all branches (**) but the buids are using the property $GERRIT_BRANCH set to ref/heads/my_branch
WHen polls are running i see that the last built revision matches the ones that are available in mainline - there is no other revisions that are coming from the git ls-remote command that poll uses. Yet git poll reports it found changes and it triggeres the rebuild.
in changes list for the project all latest builds are having the same one commit over and over again.
---
Originally reported by eguess74, imported from: Git poll always finds changes when there is none when used with Gerrit trigger strategy
Raw content of original issue
I have gerrit configured to react on changes in all branches (**) but the buids are using the property $GERRIT_BRANCH set to ref/heads/my_branch
WHen polls are running i see that the last built revision matches the ones that are available in mainline - there is no other revisions that are coming from the git ls-remote command that poll uses. Yet git poll reports it found changes and it triggeres the rebuild.
in changes list for the project all latest builds are having the same one commit over and over again.
- environment:
linux
Contributor guide
Assessment
This issue has not been assessed yet.