1.下载多个项目

node {
    stage('clone'){
          dir('test1'){
              checkout([$class: 'GitSCM', branches: [[name: '*/master']],doGenerateSubmoduleConfigurations: false, extensions: [],
          submoduleCfg: [], userRemoteConfigs: [[credentialsId: '-150c--87d9-b13f73201107', url: 'git@gitlab.*.*/*-*.git']]])
          }
        dir('test'){
              checkout([$class: 'GitSCM', branches: [[name: '*/master']],doGenerateSubmoduleConfigurations: false, extensions: [],
          submoduleCfg: [], userRemoteConfigs: [[credentialsId: '293a7ae6---87d9-b13f73201107', url: 'git@gitlab/kend.git']]])
          }
}
}

 

jenkins pipline 用法收集

 

相关文章:

  • 2021-08-21
  • 2021-09-08
  • 2021-06-30
  • 2020-10-14
  • 2021-07-18
  • 2021-10-19
  • 2022-12-23
  • 2020-06-19
猜你喜欢
  • 2021-04-16
  • 2021-09-30
  • 2022-01-21
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案