I have a super project that only aggregates multiple git sumodules. I would like to trigger Jenkins for each change in submodules as well as when super project is updated.
/superproject
/submodule-a
/submodule-b
/submodule-c
For each submodule I am using Job DSL plugin and works fine except when some modules require others to compile or run tests -- that is one reason to aggregate all other repos in one super project.
What should I do for testing individual submodules as well as integration as part of a super project?