|
@@ -7,7 +7,7 @@ def projectList = project_name.split(",")
|
|
|
|
|
|
node {
|
|
|
stage('pull code') {
|
|
|
- checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: ${git_auth}, url: ${git_url}]]])}
|
|
|
+ checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '${git_auth}', url: '${git_url}']]])}
|
|
|
stage('build images') {
|
|
|
for (int i = 0; i < projectList.length ; i++) {
|
|
|
echo "正在build images,项目名为:${projectList[i]}"
|