Trigger Jenkins tests after commits in git submodules

坚强是说给别人听的谎言 提交于 2019-12-06 09:04:23
betodelrio

I think this does not make sense. If git plugin is configured to trigger a job after post-receive hook in remote repository then it should work.

If a new commit is pushed to a submodule the parent project does not noticies. You must have to do:

git submodule update --remote --recursive
git commit
git push

Then, and only then, the job should receive the notification. For more information you could read:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!