Issue Type: Bug Bug
Assignee: Daniel Petisme
Components: copy-to-slave
Created: 14/Jun/13 8:15 PM
Description:

If you were on GitHub I would probably just file a pull request, but since you are not, the following code in https://svn.jenkins-ci.org/trunk/hudson/plugins/copy-to-slave/src/main/java/com/michelin/cio/hudson/plugins/copytoslave/CopyToMasterNotifier.java looks wrong:

public boolean perform(AbstractBuild build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException {
...
    FilePath projectWorkspaceOnSlave = build.getProject().getWorkspace();

This is likely wrong since the project can have many workspaces, and if there are concurrent builds this one may be from a different build. build.getWorkspace() is more correct, and simpler too.

Project: Jenkins
Labels: concurrent-build
Priority: Major Major
Reporter: Jesse Glick
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to