Explorar el Código

更新 'Jenkinsfile'

chenghongxi hace 4 años
padre
commit
501b0d97b9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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]"
         }      
     }