Hi John,

Not sure what you call a pipeline job, do you mean 'workflow job'? or do
you use the term in a generic way and actually have many (freestyle) jobs
you're coordinating?

If the latter, then it really seems like a use case for a workflow job
(using the workflow plugin). Using/archiving etc. artifacts and being able
to share the ws during the build is gonna be both more natural and more
maintainable (and more robust because of the durability).

My 2 cents
Le 24 déc. 2015 3:46 AM, "John D. Ament" <[email protected]> a écrit :

> Hi,
>
> I was wondering if anyone had any best practices or tips to share on have
> a common workspace for a pipeline job.
>
> Basically, I have a series of pipeline jobs and I want them to have a
> single workspace for the duration of the job chain.  I compile the
> artifacts once, running unit tests, followed by a suite of integration and
> BDD tests.  It's a fairly complicated build, including generating an app
> server and minifying a lot of javascript for our UI.  Some of these steps
> are pretty long, and in total we have 4 pipeline steps.  I figure by doing
> this once, I would cut out about 40 minutes of rebuild time in my pipeline.
>
> One idea I had was to use the clone workspace plugin to copy them,
> https://wiki.jenkins-ci.org/display/JENKINS/Clone+Workspace+SCM+Plugin,
> but it seems like this isn't pipeline sensitive since each step in the
> pipeline should be building the same commit.  I also thought about copying
> artifacts, but it seems like its a huge number of artifacts.  Could I build
> a zip with the contents?
>
> Any thoughts?
>
> Thanks!
>
> John
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/3c25d084-56c8-4242-a6e0-a0b347ea0af8%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/3c25d084-56c8-4242-a6e0-a0b347ea0af8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS51_Avn9Vuzq%3Dpi0uZX0N191Jxr-YZz44W61-tFkJwBbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to