Procházet zdrojové kódy

更新 'Jenkinsfile'

chenghongxi před 4 roky
rodič
revize
971571ecbb
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -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]}"