|
@@ -17,9 +17,9 @@ ansiColor('xterm') {
|
|
|
for (int i = 0; i < projectList.length ; i++) {
|
|
|
echo "\u001B[32m############正在build images,项目名为:${projectList[i]}############\u001B[0m"
|
|
|
if ("${projectList[i]}" == "mchsrv" || "${projectList[i]}" == "sharebms2" || "${projectList[i]}" == "sharebms2-nginx" || "${projectList[i]}" == "sharesrv2") {
|
|
|
- sh "docker build -t ${xy_image}/${projectList[i]}:${release} -f ${jenkins_home}/share-v2/${projectList[i]}/Dockerfile ${jenkins_home}/share-v2/${projectList[i]}"
|
|
|
+ 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]}" == "login-app-jl" || "${projectList[i]}" == "login-app-lj" || "${projectList[i]}" == "login-app-ln" || "${projectList[i]}" == "login-mp" ||"${projectList[i]}" == "login-mp" ||"${projectList[i]}" == "login-mp-gf" || "${projectList[i]}" == "login-mp-intl" || "${projectList[i]}" == "login-websocket" || "${projectList[i]}" == "login-websocket-gf" || "${projectList[i]}" == "登陆服务器-提审" || "${projectList[i]}" == "登陆服务器-测试专用"){
|
|
|
-
|
|
|
+ sh "docker build -t ${xy_image}/${projectList[i]}:${release} -f ${jenkins_home}/logonsvr/${projectList[i]}/Dockerfile ${jenkins_home}/logonsvr/${projectList[i]}"
|
|
|
} else {
|
|
|
sh "docker build -t ${xy_image}${projectList[i]}:${release} -f ${jenkins_home}${projectList[i]}/Dockerfile ${jenkins_home}${projectList[i]}"
|
|
|
}
|