瀏覽代碼

更新 'Jenkinsfile'

chenghongxi 4 年之前
父節點
當前提交
501b0d97b9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

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