|
@@ -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"
|