how to pull latest source code when build module only

27 views
Skip to first unread message

严细浪

unread,
Aug 23, 2016, 2:16:50 AM8/23/16
to Jenkins Users
I am using Jenkins to build a multi module maven project, in Jenkins i can trigger to build a maven module, however when build module, Jenkins will not pull latest source code, source code only pulled when whole project is built. how to make Jenkins pull source code when build module?

Maciej Jaros

unread,
Aug 30, 2016, 5:59:29 AM8/30/16
to jenkins...@googlegroups.com
严细浪 (2016-08-23 08:16):
I am using Jenkins to build a multi module maven project, in Jenkins i can trigger to build a maven module, however when build module, Jenkins will not pull latest source code, source code only pulled when whole project is built. how to make Jenkins pull source code when build module?

You could just run `svn update ./svn-checkut-path/my/module/path`. Don't think it's possible with git though. With git you would probably need separate repos.

Regards,
Nux.

严细浪

unread,
Aug 31, 2016, 12:32:35 AM8/31/16
to Jenkins Users, mac...@mol.com.pl
When build module,  jenkins doesn't execute any configured commands, 
Reply all
Reply to author
Forward
0 new messages