@@ -13,7 +13,7 @@ ansiColor('xterm') {
}
stage('build images') {
for (int i = 0; i < projectList.length ; i++) {
- echo "\u001B[32m正在build images,项目名为:${projectList[i]}\u001B[0m"
+
sh "docker build -t ${xy_image}${projectList[i]}:${release} -f ${jenkins_home}${projectList[i]}/Dockerfile ${jenkins_home}${projectList[i]}"