chenghongxi 4 лет назад
Родитель
Сommit
e0a1456cac
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      Jenkinsfile

+ 2 - 1
Jenkinsfile

@@ -15,8 +15,9 @@ ansiColor('xterm') {
 		}
 		stage('build images') {
 			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++)
+					echo "\u001B[32m############正在build images,项目名为:${projectList[i]}############\u001B[0m"
 					if ("${projectList[j]}" == "${sharev2list[i]}") {
 						sh "docker build -t ${xy_image}/${projectList[j]}:${release} -f ${jenkins_home}/share-v2/${projectList[j]}/Dockerfile ${jenkins_home}/share-v2/${projectList[j]}"
 						echo "11111111111111111111111111"