1

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}

1 Answer 1

3

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).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.