Issue Type: Bug Bug
Assignee: Kohsuke Kawaguchi
Components: slave-setup
Created: 27/Feb/14 8:21 PM
Description:

I made a job that just does

echo foo >foo.txt

and is set to archive *.txt. Then I bound that job to a slave with a label.


The build fails with

+ echo foo
Archiving artifacts
ERROR: Failed to archive artifacts: *.txt
java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: jnr/posix/POSIXHandler
	at hudson.FilePath.copyRecursiveTo(FilePath.java:2016)
	at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:57)
	at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:140)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757)
	at hudson.model.Build$BuildExecution.post2(Build.java:183)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)
	at hudson.model.Run.execute(Run.java:1703)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:231)

If I run the job on the master, it works fine.

Somehow, the jnr-posix stuff isn't made available on the slave.

(seems related to JENKINS-18682, which was claused because of inactivity)

Project: Jenkins
Labels: exception
Priority: Major Major
Reporter: Peter Eisentraut
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/groups/opt_out.

Reply via email to