Explorar o código

更新 'Jenkinsfile'

chenghongxi %!s(int64=4) %!d(string=hai) anos
pai
achega
9f1f5e11ff
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -14,7 +14,7 @@ ansiColor('xterm') {
 				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 < sharev2list.size ; i++) {
+			for (int i = 0; i < sharev2list.size() ; i++) {
 					echo "\u001B[32m############正在build images,项目名为:${projectList[i]}############\u001B[0m"
 					for (int j = 0 ; j <projectList.length ; j++)
 					if ("${projectList[j]}" == "${sharev2list[i]}") {