0

There are a number of module in SVN branch and for build purpose we have one main build.xml which will trigger all the modules for build, we are using jenkins to invoke ant . Post build it will generate say five or six EAR ,now the problem is i want to trigger build only for one module which will have a new check in without changing the existing directory structure of branch in svn repo as jenkins will trigger build for all the module once it will find a check in in repo.

1 Answer 1

0

Create a new jenkins job for required module only. Use your main build.xml as the input of the ant task but put the module name ( or related target ) as Targets in jenkins task. If you have module specific build.xml then feed that file in this new Jenkins job.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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