浏览代码

更新 'Jenkinsfile'

chenghongxi 4 年之前
父节点
当前提交
2225d9ebec
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Jenkinsfile

+ 2 - 2
Jenkinsfile

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