Jesse, I still have problems with this. Current problem is that I try to archive the whole workspace with some excludes:

step([$class: 'ArtifactArchiver', artifacts: '**/*', exclude: 'agent/dist/**/*'])

And then unarchive it on another node:

unarchive mapping: ['**/*': '.']

And this fails with:

java.io.FileNotFoundException: /var/lib/jenkins/jobs/DashboardWorkflow/builds/2015-01-15_15-34-25/archive/agent/dist/plumbr/lib/mac/32/libplumbr.dylib (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at jenkins.util.VirtualFile$FileVF.open(VirtualFile.java:264)
at org.jenkinsci.plugins.workflow.steps.ArtifactUnarchiverStepExecution.copy(ArtifactUnarchiverStepExecution.java:67)
at org.jenkinsci.plugins.workflow.steps.ArtifactUnarchiverStepExecution.run(ArtifactUnarchiverStepExecution.java:58)
at org.jenkinsci.plugins.workflow.steps.ArtifactUnarchiverStepExecution.run(ArtifactUnarchiverStepExecution.java:21)
at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousStepExecution.start(AbstractSynchronousStepExecution.java:34)
at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:137)
at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:98)

libplumbr.dylib file is a symlink, if this makes any difference. But it should be excluded anyway. What am I doing wrong?

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/d/optout.

Reply via email to