|
@@ -20,11 +20,14 @@ ansiColor('xterm') {
|
|
|
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]}"
|
|
|
echo "11111111111111111111111111"
|
|
|
+ break
|
|
|
} else if ("${projectList[j]}" == "${sharev2list[i]}") {
|
|
|
sh "docker build -t ${xy_image}/${projectList[i]}:${release} -f ${jenkins_home}/logonsvr/${projectList[i]}/Dockerfile ${jenkins_home}/logonsvr/${projectList[i]}"
|
|
|
+ break
|
|
|
} else {
|
|
|
echo "222222222222"
|
|
|
sh "docker build -t ${xy_image}/${projectList[i]}:${release} -f ${jenkins_home}/${projectList[i]}/Dockerfile ${jenkins_home}/${projectList[i]}"
|
|
|
+ break
|
|
|
}
|
|
|
break
|
|
|
}
|