jenkins - 如何在 Jenkins 多管道项目的子模块中构建 Jenkinsfile
问题描述
主仓库名称 -> 主 https://github.com/ddorahee/mainRepo
子模块名称 -> Jenkins https://github.com/ddorahee/Jenkinsfile
- 詹金斯文件
pipeline { agent any stages { stage('Build') { steps { sh 'ls -al && cd Jenkins && ls -al' } } } }
如何在子模块中构建 Jenkinsfile
解决方案
推荐阅读
- openshift - Openshift:使用最新提交重新部署 source-to-image 容器
- laravel - laravel 刀片 @include 与本地化变量
- rust - rust 在 x86_64 机器上编译 x86 库
- c# - 在 WPF 的行单元格中使用按钮和组合框
- c# - 无法将字符串转换为 XElement
- vim - Vim:保存和退出时替换字符串
- c# - Azure 通知中心管理 SDK - 缺少指标?
- php - Laravel php结合了两个foreach
- firebase - 使用 Firestore 在聊天应用中加载对话消息
- python - 试图读取 BSON 文件,得到 bson.errors.InvalidBSON: objsize too large