jenkinsci / jenkinsci/git-plugin
[JENKINS-30300] Unable to specify a branch to build when using parameterized job with multiple branches
- Dominant language
- Java
- Stars
- 694
- Forks
- 1.1k
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 3
Description
When having a job that is configured to build multiple branches, it is impossible to use the paramatized build to run a particular job. Instead the latest branch is build.
If I have a job that builds "origin/master", "origin/release" and "origin/$branch" (for the parameter), and I try build "origin/potato", then the last built branch always builds, not the one I specify in the parameter.
---
Originally reported by adrianmoisey, imported from: Unable to specify a branch to build when using parameterized job with multiple branches
Raw content of original issue
When having a job that is configured to build multiple branches, it is impossible to use the paramatized build to run a particular job. Instead the latest branch is build.
If I have a job that builds "origin/master", "origin/release" and "origin/$branch" (for the parameter), and I try build "origin/potato", then the last built branch always builds, not the one I specify in the parameter.
Contributor guide
Assessment
This issue has not been assessed yet.