Explorar o código

更新 'Jenkinsfile'

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

+ 2 - 2
Jenkinsfile

@@ -15,9 +15,9 @@ ansiColor('xterm') {
 			for (int i = 0; i < projectList.length ; i++) {
 				echo "\u001B[32m############正在build images,项目名为:${projectList[i]}############\u001B[0m"
 					if (${project_name} == 'mchsrv'){
-						sh "docker build -t ${xy_image}/${projectList[i]}:${release} -f ${jenkins_home}/share-v2/${projectList[i]}/Dockerfile ${jenkins_home}/share-v2/${projectList[i]}"
+						echo "11111111111111"
 					} else {
-						sh "docker build -t ${xy_image}/${projectList[i]}:${release} -f ${jenkins_home}/${projectList[i]}/Dockerfile ${jenkins_home}/${projectList[i]}"
+						echo "222222222222"
                     }
 			}      
 		}