Pārlūkot izejas kodu

更新 'Jenkinsfile'

chenghongxi 4 gadi atpakaļ
vecāks
revīzija
b0eff7c281
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -17,7 +17,7 @@ ansiColor('xterm') {
 			for (int i = 0; i < projectList.length ; i++) {
 				echo "\u001B[32m############正在build images,项目名为:${projectList[i]}############\u001B[0m"
 				for (int j = 0 ; j < sharev2list.size() ; j++) {
-					if ("${projectList[i]}" == "${share-v2list[j]}") {
+					if ("${projectList[i]}" == "${sharev2list[j]}") {
 						sh "docker build -t ${xy_image}/${projectList[i]}:${release} -f ${jenkins_home}/share-v2/${projectList[i]}/Dockerfile ${jenkins_home}/share-v2/${projectList[i]}"
 					} else if ("${projectList[i]}" == "${logonsvrlist[j]}") {
 						sh "docker build -t ${xy_image}/${projectList[i]}:${release} -f ${jenkins_home}/logonsvr/${projectList[i]}/Dockerfile ${jenkins_home}/logonsvr/${projectList[i]}"