使用Jenkins管道将多个git repos签出到同一作业中

使用Jenkins管道将多个git repos签出到同一作业中,第1张

使用Jenkins管道将多个git repos签出到同一作业

您可以使用以下

dir
命令在子目录中执行管道步骤

node('ATLAS && Linux') {    dir('CalibrationResults') {        git url: 'https://github.com/AtlasBID/CalibrationResults.git'    }    dir('Combination') {        git url: 'https://github.com/AtlasBID/Combination.git'    }    dir('CombinationBuilder') {        git url: 'https://github.com/AtlasBID/CombinationBuilder.git'    }    sh('ls')    sh('. CombinationBuilder/build.sh')}


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5088658.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-11-16
下一篇 2022-11-16

发表评论

登录后才能评论

评论列表(0条)

保存