Thank you for the clarification about the 'archive artifacts' step.

If it's possible, I'd like to keep the shared drive mounted only on the 
master. The 'ArtifactDeployer' step complains that the drives are not 
mounted on the slaves when I run the job, that's why I wonder if there is a 
way to get that running only on the master. I can mount the drives on the 
slaves also, but is it possible then to keep the artifacts from all the 
slaves in separate directories? That is because all the compiled artifacts 
have the same name.

On Thursday, October 23, 2014 12:05:05 PM UTC-4, LesMikesell wrote:
>
> On Thu, Oct 23, 2014 at 10:31 AM, Romain Deterre 
> <romain....@gmail.com <javascript:>> wrote: 
> > Hi, 
> > 
> > I'd like to compile a code project on multiple Linux distributions and 
> then 
> > put all the compiled artifacts on a shared drive. To do this, I have 
> Jenkins 
> > installed on a host computer with multiple virtual machines as nodes. 
> > 
> > I've created a multi-configuration project with only a 'Slaves' axis, on 
> > which all the virtual machines are selected. The 'Build' step works very 
> > well, and I can see the artifacts in the workspace of the individual 
> virtual 
> > machines. 
> > 
> > A shared drive is mounted on the host computer, and I'd like to send all 
> the 
> > artifacts there. I think I should use the 'Copy to Slave' plugin to copy 
> the 
> > artifacts back to the master node, and then 'ArtifactDeployer' to copy 
> > everything to the shared drive. 
> > 
> > My issue is that the ArtifactDeployer step seems to run on the slaves, 
> as 
> > opposed to the master. 
> > 
> > Am I doing this the right way? If so, how can I ask for a post-build 
> action 
> > to be run only on the master node? 
>
> First, note that if you 'archive artifacts' in the job, they will 
> already be copied back to the master and available through the web 
> interface so you may not actually need to publish anywhere else.  And 
> if you do need to also deploy to a shared drive, why can't the slave 
> do that as well as the master? 
>
> -- 
>    Les Mikesell 
>      lesmi...@gmail.com <javascript:> 
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to