Could Jenkins Maven plugin support more options in sub-module build configuration

5 views
Skip to first unread message

严细浪

unread,
Sep 30, 2016, 3:25:07 AM9/30/16
to Jenkins Users
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:
  1. allow download source code when trigger sub-module build
  2. allow add shell/command execution build step, like pre-build action in maven project configuration page
Reply all
Reply to author
Forward
0 new messages