Quantcast

[JIRA] (JENKINS-15162) Unable to archive artifacts from "JClouds Single-Use Slave"

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15162) Unable to archive artifacts from "JClouds Single-Use Slave"

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Affects Versions: current
Assignee: abayer
Components: jclouds
Created: 14/Sep/12 12:30 AM
Description:

When using the JClouds Single-Use Slave with a Maven project, it spools up and runs a Jenkins build just fine.

Once it's done, I need to archive artifacts from that slave but I am unable to. I get:

Archiving artifacts
ERROR: No artifacts found that match the file pattern [valid pattern of files on slave]. Configuration error?
Build step 'Archive the artifacts' changed build result to FAILURE
Finished: FAILURE

I explicitly run an "ls -la" of the folder/artifacts specified and they are indeed present before the slave is destroyed.

I've also tried moving the Archive Artifacts into the "Post Build steps" via the Any Build Step Plugin but I get the same result.

Jenkins.log does not have a stacktrace to help us.

It's likely the plugin is in fact only looking on the Jenkins master for the files...

Environment: Jclouds plugin 2.3, Jenkins 1.481
Project: Jenkins
Priority: Major Major
Reporter: Adam Rofer
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15162) Unable to archive artifacts from "JClouds Single-Use Slave"

JIRA noreply@jenkins-ci.org
Adam Rofer commented on Bug JENKINS-15162

I'm going to try https://wiki.jenkins-ci.org/display/JENKINS/Copy+To+Slave+Plugin - this looks like it does what I want above...

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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15162) Unable to archive artifacts from "JClouds Single-Use Slave"

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Adam Rofer resolved Bug JENKINS-15162 as Not A Defect

This is actually working fine - I just had a hard time configuring it, is all

Change By: Adam Rofer (19/Sep/12 6:28 PM)
Status: Open Resolved
Resolution: Not A Defect
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15162) Unable to archive artifacts from "JClouds Single-Use Slave"

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Adam Rofer commented on Bug JENKINS-15162

OOPS! In my case I was trying to archive artifacts that were (1) via absolute path and (2) not read permissible by the jenkins user on that vm

It works fine now, all I had to do was copy the files and chown them in a subfolder of the workspace on the VMs.

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
Loading...