Browse Source

更新 'Jenkinsfile'

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

+ 1 - 1
Jenkinsfile

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