Issue Type: Bug Bug
Assignee: Daniel Petisme
Components: copy-to-slave
Created: 11/Dec/12 5:02 PM
Description:

The workspace does not seem to render properly for the master when using the copy-to-master option. It appears in Windows path format on the Linux side.
An exception occured while creating VERDE_build: java.io.IOException: Failed to mkdirs: workspace\VERDE_build
[copy-to-slave] Copying 'win4/trunk/src/win32/FinishWin7Install/*.exe', excluding nothing, from 'file:/c:/Users/Vbridges/Development/workspace/VERDE_build/' on 'hudson.plugins.virtualbox.VirtualBoxSlave@eba543f' to 'file:/workspace%5CVERDE_build' on the master.
ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
hudson.util.IOException2: Failed to extract c:\Users\Vbridges\Development\workspace\VERDE_build/win4/trunk/src/win32/FinishWin7Install/*.exe
at hudson.FilePath.readFromTar(FilePath.java:1936)
at hudson.FilePath.copyRecursiveTo(FilePath.java:1848)
at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:93)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779)
at hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
at hudson.model.Run.execute(Run.java:1562)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
Caused by: java.io.FileNotFoundException: workspace\VERDE_build/win4/trunk/src/win32/FinishWin7Install/FinishWin7Install.exe (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
at hudson.util.IOUtils.copy(IOUtils.java:35)
at hudson.FilePath.readFromTar(FilePath.java:1926)
... 10 more

The workaround is to hard-code the Linux workspace path using the Override Destination Folder option.

Environment: Jenkins on Centos 6.3 with Windows 7 and Ubuntu 10.04 slaves hosted on the same machine through VirtualBox.
Project: Jenkins
Priority: Critical Critical
Reporter: Jeff Rodgers
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

Reply via email to