Hi,

as the workspace is a volatile object in the general case,  you should 
consider 
https://wiki.jenkins-ci.org/display/JENKINS/Clone+Workspace+SCM+Plugin. 

Björn


Am Montag, 11. Juli 2016 16:16:55 UTC+2 schrieb [email protected]:
>
> Hi,
> I have a project that run some code analysis after the build. I make them 
> into another project that is trigger after the other one. I'm looking to 
> set the Working diirectory with environment variables.
>
> Current setup have a custom (under Windows): 
> *Workspace Root Directory* = d:/JenkinsWorkspace/${ITEM_FULL_NAME}
>
> My main project use the default workspace (let's call it AA).
> My second project (do the post build analysis under it's own project) 
> should use the AA project workspace.
>
> Is there any environment variable to use the default access Workspace 
> Root Directory without the ${ITEM_FULL_NAME} ?
> Or even better have a way to use the same workspace as another project?
>
> Currently I use the full path but this is painfull when moving to other 
> machine, you don't only have to change the Jenkins config but also the 
> project and this is bad.
>
> x *Use custom workspace*
> *Directory* = d:/JenkinsWorkspace/AA
>
> I would rather have something like:
> *Directory* =  ${DEFAULT_WORKSPACE}/../AA
> or even better:
> *Directory* = ${ALL_WORKSPACE}["AA"]
>
> Thanks,
> Jerome
>

-- 
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/392bf44a-0ad7-4459-9f39-d64c5cc7add2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to