-
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