Browse Source

更新 'Jenkinsfile'

chenghongxi 4 years ago
parent
commit
501b0d97b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -15,7 +15,7 @@ node {
         def projectList = project_name.split(",") 
         def projectList = project_name.split(",") 
         
         
         for (int i = 0; i < projectList.length ; i++) {
         for (int i = 0; i < projectList.length ; i++) {
-             sh label: '',
+             echo "${projectList}[0]"
              script: "sh cd ${jenkins_home}${projectList}[i]"
              script: "sh cd ${jenkins_home}${projectList}[i]"
         }      
         }      
     }
     }