I posted a topic last month:
https://groups.google.com/forum/#!topic/jenkinsci-users/vn45Z9W88kw
My requirement is to build maven sub module separately, but currently when trigger sub module build in jenkins, jenkins will not download source code. Then I try some walkaround like use command to download source, and use maven scm plugin to download source. All of them have same problem: command can be trigger from pom.xml only, as there is no config option to add command execution. But if command trigger from pom.xml, when command is executed, pom.xml is loaded, then if pom.xml is changed in latest code, the changes will not take affect in the build.
So I am asking if Jenkins Maven Plugin could add one of below config option in sub-module build config:
- allow download source code when trigger sub-module build
- allow add shell/command execution build step, like pre-build action in maven project configuration page