jenkins - Jenkins 多分支管道如何自动初始化和更新 repo 的子模块
问题描述
基本上需要相当于
混帐克隆。git 子模块更新 --init --remote
解决方案
When you configure your Multibranch Pipeline Job you have an option to add Behaviors, one of the behaviors is Advanced sub-modules behaviours, there you can configure exactly what you want to do with submodules.
You will probably want to check the Recursively update submodules
option to achieve what you want:
推荐阅读
- sql-server - SSMS 导入数据(使用 Excel)错误:SSMS 读取我的字段有 255 个字符,但我有更少
- javascript - 在多个其他 div 之后插入 div
- sql - SQL - 添加一列计数超过另一列
- angular - 错误类型错误:this.remember.forEach 不是 AuthFormComponent.ngAfterContentInit 的函数
- spring - 其他端点无法访问 Cookie
- javascript - 新文档的firestore更新计数器
- playwright - 我如何在 Playwright-java 中上传文件?
- docker - docker nginx 端口 80 权限在 ubuntu 16 上被拒绝
- json - 使用 jq group_by 和 count 将 JSON 输出从 curl 排序到排序和计数列表
- facebook - 我可以通过图形 api 关注 Facebook 页面吗?