jenkinsci / jenkinsci/git-client-plugin
[JENKINS-29301] Git plugin falls into a infinite loop on unspecified branches containing / after force push
- Dominant language
- Java
- Stars
- 152
- Forks
- 402
- Avg merge
- 6h 47m
- Merged PRs (30d)
- 4
Description
An unspecified branch may sometimes contain a slash '/' which causes the method DefaultBuildChooser.getCandidateRevisions() adding the branchSpec as a local reference.
This together with a force push by someone which changes the parent of the latest commit will cause an infinite build loop based on 'Multiple candidate revisions'.
---
Originally reported by
jocce, imported from: Git plugin falls into a infinite loop on unspecified branches containing / after force push
Raw content of original issue
An unspecified branch may sometimes contain a slash '/' which causes the method DefaultBuildChooser.getCandidateRevisions() adding the branchSpec as a local reference.
This together with a force push by someone which changes the parent of the latest commit will cause an infinite build loop based on 'Multiple candidate revisions'.
Contributor guide
Assessment
This issue has not been assessed yet.