hello!python!

jenkins pipline 用法收集

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']]])
          }
}
}

 

 

posted @ 2019-05-23 15:33  你坚持了吗  阅读(551)  评论(0编辑  收藏  举报
hello!python!