I just started a thread ("Tests which require an initial reboot?") which 
has a potential use case for successive jobs on the same slave. I need to 
test driver builds which require an initial install and reboot, and then 
functional tests. One possible way to implement this would be to schedule 
consecutive jobs on the same slave - first an install & reboot job, and 
then the functional test job. One key requirement, in my case, is that 
other jobs shouldn't be scheduled on the slave between those two. Any 
advice about this or other approaches would be appreciated.

Thanks,

-- Jonathan

On Wednesday, June 20, 2012 5:01:59 PM UTC-5, sti wrote:
>
> Exactly. Copying artifacts to master for archiving and copying them out to 
> the workspace where they are used seems to be the way Jenkins works, at 
> least, currently. You need to install the Copy artifact plugin, or at least 
> it will make your life easier. 
>
> At work my build artifacts are around 300 MB and I haven't considered the 
> time spent copying them to be a show stopper. I get an archived copy of the 
> artifacts and I do not have worry about something overwriting the 
> artifacts. 
>
> If your artifacts really are so large they cannot be moved around, I 
> believe you need to create a new plugin to make it safe to pass them from 
> one job to another in one slave. 
>
> -- Sami 
>
> Les Mikesell <lesmi...@gmail.com <javascript:>> kirjoitti 19.6.2012 kello 
> 23.48: 
>
> > On Tue, Jun 19, 2012 at 2:57 PM, Jeff <preda...@gmail.com <javascript:>> 
> wrote: 
> >> I have a potential use case....but I'm also new to Jenkins so this may 
> be 
> >> doable today in a way that I have yet to learn. 
> >> 
> >> In trying to resolve how to use Maven and Jenkins and create a 
> continuous 
> >> delivery (CD) pipeline where each step in the pipeline progresses the 
> state 
> >> such as: build->Unit Test->Deploy-dev->Integration 
> Tests->Deploy-stage->Load 
> >> Tests->DeployLive (or something like this),  we could have the 
> functionality 
> >> to run each pipeline stage as part of the same source project and 
> configured 
> >> via various profiles/plugins in the Maven POM. 
> >> 
> >> However, it seems that allowing any random slave to execute the various 
> >> steps in the pipeline would incur a lot of unneeded overhead by either 
> >> requiring the project and artifacts be archived and/or copied to each 
> slave 
> >> at each point in the pipeline depending on who gets the job, or the 
> same 
> >> source would need to be checked out and built for whichever phase is 
> being 
> >> run.  Seems like a lot of unneeded overhead. 
> > 
> > The overhead of a few file copies is pretty small in the context of 
> > builds and probably more than offset but letting you build components 
> > in parallel and especially if you can come up with a scheme to only 
> > build the changed component(s) and the final result. 
> > 
> > -- 
> >   Les Mikesell 
> >      lesmi...@gmail.com <javascript:> 
>

Reply via email to