-
Bug
-
Resolution: Fixed
-
Major
-
None
Failure
specified git branch to checkout/build is not used
Reproducible by
- a defined job including text parameter “GIT_BRANCH_NAME” (textParameter_GIT_BRANCH_NAME.png
)
- use git as source code management
- Branches to build: origin/${GIT_BRANCH_NAME} (branches_to_build.png
)
- Branches to build: origin/${GIT_BRANCH_NAME} (branches_to_build.png
- check out to specific local branch
- Branch name: ${GIT_BRANCH_NAME} (check_out_local_branch.png
)
- Branch name: ${GIT_BRANCH_NAME} (check_out_local_branch.png
- provide an existing remote branch (other than remote master) is provided as parameter
- remote master branch is check out and build
Expected behavior
- branch provided by text parameter “GIT_BRANCH_NAME” is checked out and build
Details
- Jenkins ver. 1.554.2
- Ubuntu precise (12.04.2 LTS)
- is related to
-
JENKINS-20969 When branch build parameter is '*', '**' or empty, a stale revision is built
-
- Open
-
-
JENKINS-21719 Unable to get Branch to build variable to work with wildcard
-
- Open
-
Misfiled.