jenkinsci / jenkinsci/git-plugin
[JENKINS-14846] Multiple repositories failes checkout of custom branch
- Dominant language
- Java
- Stars
- 694
- Forks
- 1.1k
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 3
Description
Steps to reproduce:
1. Setup git plugin with two repositories (with or without refspec)
2. Specify a job string parameter for the branch
3. Launch the build with a custom branch as parameter
Actual results:
Checks out the last built branch
Expected results:
Check out the branch which was specified by parameter
---
Originally reported by flozzone, imported from: Multiple repositories failes checkout of custom branch
Raw content of original issue
Steps to reproduce:
1. Setup git plugin with two repositories (with or without refspec)
2. Specify a job string parameter for the branch
3. Launch the build with a custom branch as parameterActual results:
Checks out the last built branchExpected results:
Check out the branch which was specified by parameter
environment
```
jenkins: 1.477 and 1.472
git: 1.1.21 and 1.1.22
```
Contributor guide
Assessment
This issue has not been assessed yet.