-
Bug
-
Resolution: Fixed
-
Major
-
Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.57-3+deb7u1
-
-
git client plugin 4.0.0
I have carefully named my project paths and folders so I can use JOB_NAME substitutions when cloning templates to create new jobs. All I have to do is copy a similar test (selenium/jmeter/junit/etc) and set the name of the job.
I just started using sparse checkout feature of git-client, to reduce the workspace bloat.
I want to use variable substitution to checkout the path 'test/${JOB_NAME}'.
The ${JOB_NAME} is not expanding, I get an error from the git-client, and the checkout fails. When I hardcode the jobname in the sparse checkout path field, it all works beautifully.
- is related to
-
JENKINS-27508 Cannot use ENV variable for repository url in Git Publisher
-
- Closed
-
-
JENKINS-49758 when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value
-
- Open
-
- links to
[JENKINS-23477] git plugin sparse checkout path field does not expand variables
Component/s | Original: git-client [ 17423 ] |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
Link |
New:
This issue is related to |
Workflow | Original: JNJira [ 156106 ] | New: JNJira + In-Review [ 179218 ] |
Attachment | New: Capture.JPG [ 38708 ] |
Link | New: This issue is related to JENKINS-49758 [ JENKINS-49758 ] |
Assignee | Original: Nicolas De Loof [ ndeloof ] |
Labels | New: newbie-friendly |
Summary | Original: git-client-plugin sparse checkout path field does not expand variables | New: git plugin sparse checkout path field does not expand variables |
Assignee | New: Yash Amrut Jain [ yashj21 ] |