![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
current |
|
Assignee:
|
Vivekanand SV
|
|
Components:
|
copy-to-slave |
|
Created:
|
04/Jun/14 9:48 AM
|
|
Description:
|
When using a variable in a custom workspace, it doesn't get replaced for copy-to-slave.
I see correctly "Building remotely on Jenkins-Worker-01 (Remote-Worker) in workspace /var/lib/jenkins/jobs/a_name/workspace" in the log and "/var/lib/jenkins/jobs/a_name/workspace" is the $PARAMETER. But the copytoslave uses $PARAMETER as a string...
Interesting point is, it gets resolved correctly for the slave, but not the master.
How to reproduce:
- Creating a project with "Use custom workspace: $PARAMETER"
- Enable "Copy files into the job's workspace before building" with "This job's workspace on the master (not advised)"
- Start the build with $PARAMETER=/var/lib/jenkins/jobs/a_job/workspace/
Got:
[copy-to-slave] Copying '.,*', excluding '/.git/,*/.gitignore', from 'file:/$%7BPARAMETER%7D' on the master to 'file:/var/lib/jenkins/jobs/a_job/workspace/' on 'slave'.
Expected:
[copy-to-slave] Copying '.,*', excluding '/.git/,*/.gitignore', from 'file:/var/lib/jenkins/jobs/a_job/workspace/' on the master to 'file:/var/lib/jenkins/jobs/a_job/workspace/' on 'slave'.
|
|
Environment:
|
Jenkins 1.566
CopyToSlave 1.4.3
Ubuntu 14.04.
|
|
Project:
|
Jenkins
|
|
Priority:
|
Major
|
|
Reporter:
|
Karl Fritsche
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.