Copy artifact Plugin

29 views
Skip to first unread message

inforedaster .

unread,
Aug 25, 2016, 10:39:00 AM8/25/16
to jenkins...@googlegroups.com
Hello,

I have a Jenkins 1.642.2 with linux slave

Two jobs for the same project the first A for the build and seconde B to deploy the artifact the two jobs build in the slave

the jenkins home in the master : /var/lib/jenkins
in the slave : /lun/data1/jenkins_slave

when i start the job B it copie all archived artifactd from Job A but also i have this error :

Copied 5 artifacts from "MOSAIC_INT_FR_MAVEN-slave" build number 1
/var/lib/jenkins/jobs/Project/modules/com.project.boas$applet-exchange/builds/1/archive

so how can i do to force the copy artifact plugin to look at the slave home(/lun/data1/jenkins_slave) instead  the master home ( /var/lib/jenkins)

thank you


--

Cordilally

Cordialement.


Martin d'Anjou

unread,
Aug 27, 2016, 11:40:47 AM8/27/16
to Jenkins Users
Maybe another plugin can help with your problem. It is the external workspace manager plugin. If the master and the slave can mount the same disk, then they can share the workspace. You could use that to perform the file copy, or to simply use the artifacts without copying them.

Hope this helps.
Martin

inforedaster .

unread,
Aug 29, 2016, 4:40:58 AM8/29/16
to jenkins...@googlegroups.com
thanks for your reply MArtin,

i hope to be separated in the slave build so i'd like that plugin use the slave workspace instead master workspace be cause all my builds is started in the slave

so the plugin must look at artifact in the directory : /lun/data1/jenkins_slave/jobs/Project/modules/com.project.boas$applet-exchange/builds/1/archive

thanks

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/76006e39-0c13-40c5-a5a9-dc0451b9ca80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Cordilally

Cordialement.


Reply all
Reply to author
Forward
0 new messages