Explorar el Código

更新 'Jenkinsfile'

chenghongxi hace 4 años
padre
commit
4bbdfb60bc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -14,7 +14,7 @@ node {
              sh "docker build -t ${xy_image}${projectList[i]}:${release} -f ${jenkins_home}${projectList[i]}/Dockerfile ${jenkins_home}${projectList[i]}"
         }      
     }
-    stage('stage('push aliyuncs registry') {
+    stage('push aliyuncs registry') {
          for (int i = 0; i < projectList.length ; i++) {
               sh "echo 正在推送镜像,项目名为:${projectList[i]} " 
               sh "docker push ${xy_image}${projectList[i]}:${BUILD_NUMBER}"')