Reputation: 618
I have multiple independent projects ( Java - Maven ) in this SVN repo :
|-- exemple.com/svn/java/apps/
|
| |-- Application_1
| | |-- branches
| | |-- tag
| | |-- trunk
|
| |-- Application_2
| | |-- branches
| | |-- tag
| | |-- trunk
Can I create a generic Jenkins maven build job with this SVN repository URL exemple.com/svn/java/apps/ and put as parameter the project name and branche name ?
Something like this ${Project_Name} and ${Branch_name}
Upvotes: 1
Views: 288
Reputation: 1633
You can, but that would mix up the job histories, someone trying to check it would be confused by the alternating histories.
It's more work, but it would probably be better, in my opinion, if you use a Jenkins Pipeline or the Jenkins Job DSL (a job generator).
Upvotes: 3