Multi-module Maven project git polling for submodules

4 views
Skip to first unread message

sakshi arora

unread,
May 23, 2019, 9:11:27 AM5/23/19
to jenkins...@googlegroups.com
Hi All,

I have a multi- module project where submodules are remote git repositories.

I have created a jenkins pipeline script where I use the checkout from Gitscm and have enable parameters like recursively clone submodules and track submodules.

Whenever I run the build and test the parent project, all the submodules get cloned and are built and tested.

I need a way to enable trigger for the submodules so that whenever a commit happens in any of the submodules, the pipeline gets triggered.

It does get triggered whenever there is a commit in the parent project but doesn’t track the submodules.

Please help me know how can I achieve that.

Thanks
Sakshi
Reply all
Reply to author
Forward
0 new messages