Explorar o código

更新 'Jenkinsfile'

chenghongxi %!s(int64=4) %!d(string=hai) anos
pai
achega
971571ecbb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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]}"