Jenkins and updating git submodules

不想你离开。 提交于 2019-12-07 08:53:40

问题


I am using Jenkins "Advanced sub-modules behaviour" and checked the "Recursively update sub modules" option. However I get the submodule only in an old revision. I would like to always have the head revision of the submodule. I found another option in "Advanced sub-modules behaviour" called "Update tracking submodules to tip of branch". This seems to use the --remote option. Will this solve the Problem?

Any Ideas?


回答1:


Based on the documentation page for submodule, it seems that that should work. You need to have git 1.8.2 or newer though.



来源:https://stackoverflow.com/questions/36471981/jenkins-and-updating-git-submodules

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