Reputation: 4392
I'd like to use the Jenkins job name in the config:
Are there tokens I could use here?
Upvotes: 0
Views: 340
Reputation: 16615
For SCM the answer is 'yes' - use ${JOB_NAME} (e.g. svn://myserver/myrepo/trunk/${JOB_NAME}
).
In Maven build step it does not work. However, you may try using a custom workspace (push 'Advanced' button under 'Build' -> check 'use custom workspace') that contains ${JOB_NAME} (e.g. C:\workspaces\${JOB_NAME}
) as a workaround.
Upvotes: 1