-
Bug
-
Resolution: Duplicate
-
Critical
-
None
I have a job with a String Parameter - BRANCH_NAME
I am running' Pipeline Script from SCM'
I have specified the parameter BRANCH_NAME in the 'Branches to Build' field as an environment variable (i,e ${BRANCH_NAME})
It does not clone that branch - I get an error:
hudson.plugins.git.GitException: Command "git fetch --tags --force --progress --prune – origin +refs/heads/${BRANCH_NAME}:refs/remotes/origin/${BRANCH_NAME}"
- is related to
-
JENKINS-49758 when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value
-
- Open
-
[JENKINS-63457] ENV VAR / Job Parameter not being used in Git Checkout
Attachment | New: image-2020-08-20-17-52-32-118.png [ 52401 ] |
Attachment | New: image-2020-08-20-17-54-35-214.png [ 52402 ] |
Link | New: This issue is related to JENKINS-49758 [ JENKINS-49758 ] |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Fixed but Unreleased [ 10203 ] |
Forgot to add we are running 4.2.1 of the plugin