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

Reply via email to