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