I would like to try jenkins for CI of my project !
For building my project, I need 3 others SVN modules (that contains other project).
for example, my project architecture look like :
- https://scm-svn/myproject/build
- build subproject 1
- build subproject 2
- build subproject 3
- https://scm-svn/myproject/common
- common subproject 1
- common subproject 2
- common subproject 3
- https://scm-svn/myproject/server
- server subproject 1
- server subproject 2
- https://scm-svn/mainproject/server
- main project server 1
main project server 1 contains a build.xml ant file that build the whole project (with the modules) when they are in the same workspace (like eclipse does).
In jenkins, When I use svn module, after each new module, the workspace is cleaned !
So I try to use "clone workspace plugin", I've created a new project each svn module and create a workspace.zip for each projects.
But in the mainproject configuration, how can I configure it to copy/past the others subproject workspace into mainproject's workspace ?
In this way I will be able to execute an ant task in build step for lunching my build.xml
Unfortunately there is an open issue related to exporting using the subversion plugin: https://issues.jenkins-ci.org/browse/JENKINS-1304
You can decide not to use the Subversion plugin and execute "svn export.... command".
Another idea might be to exclude the .svn folder from the checkout (if it will not checkout the .svn folder it'll mimic the same behavior as export)
Good luck!