-
Story
-
Resolution: Duplicate
-
Minor
-
None
I have installed and configured git parameter plug in so I can deploy a job and select the branch with the code I wrote instead of code of master. Thing is that eventhough I select the branch I created, the job starts running on master. Here are some screenshots of what I have configured and when job is run.
- depends on
-
JENKINS-49758 when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value
-
- Open
-
-
JENKINS-49834 Variable at branch name do not eval
-
- Closed
-
klimas7 as far as I can tell, it is not fixed. That path through the git plugin code (from the SCM API, I believe) uses a refspec which intentionally selects only the specific branch. JENKINS-49758 is the bug that reports variables in the refspec are not expanded. Until JENKINS-49758 is fixed, this bug won't be fixed.