Hi Guys,

First time i need this (temporarily) :
having 2 Jenkins jobs mapping the same project (say: "myproject"), but on 2 
differents GIT repositories :

- "myproject" on Bitbucket
- "myproject" on Github

My projects are all "mavenized", with inner modules and relative paths :

> [...]
> <modules>
>         <module>../module1</module>
>         <module>../module2</module>
> </modules>
> [...]
>

By default, checkout/fetch/clone products are written in : 
/var/lib/jenkins/workspace
But :
1) with the same project name, I have to rename one of the 2 jobs. So: ~OK
2) the same relative paths in both projects

So, i tried to trick around :
[job] >>  Source Code Management >> Additional Behaviours >> Check out to a 
sub-directory >> Local subdirectory for repo
- "myproject" on Bitbucket ==> bitbucket-projects
- "myproject" on Github ==> github-projects

But it is relative to "workspace root", which is : 
/var/lib/jenkins/workspace/myproject
... and not : /var/lib/jenkins/workspace !

*I wanted to have both:*
/var/lib/jenkins/workspace/bitbucket-projects/myproject
/var/lib/jenkins/workspace/github-projects/myproject

*... but i get :*
/var/lib/jenkins/workspace/myproject/bitbucket-projects/....
/var/lib/jenkins/workspace/myproject/github-projects/....

*So it does not fit !*

# The real question is finally :
*HOW TO CHANGE/CONFIGURE THE OVERALL JENKINS WORKSPACE (default : 
/var/lib/jenkins/workspace) AT JOB LEVEL ?*


Any idea ?
Thx a lot in advance

Regards

-- 
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/c0efdc3d-9dc6-4ead-b7e5-7a0897b2b0a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to