Explorar o código

更新 'Jenkinsfile'

chenghongxi %!s(int64=4) %!d(string=hai) anos
pai
achega
4bbdfb60bc
Modificáronse 1 ficheiros con 1 adicións e 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}"')