简体   繁体   English

最新的詹金斯不克隆子模块

[英]Latest Jenkins not cloning submodule

I just rebuilt my build-server, updating to the latest version of Jenkins. 我刚刚重建了构建服务器,将其更新为最新版本的Jenkins。

(I'm usually fairly up-to-date, but must've been behind the current, given what happened). (我通常是最新的,但考虑到发生了什么,一定要落后于当前)。

This current version of Jenkins / git plugin seems to not be cloning sub-modules. 当前版本的Jenkins / git插件似乎没有克隆子模块。

How to fix this? 如何解决这个问题?

Try 尝试

$ git submodule init

and then 接着

$ git submodule update

to clone the sub-modules. 克隆子模块。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM