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

+ 1 - 3
Jenkinsfile

@@ -85,9 +85,7 @@ pipeline {
                 '''
                 echo '构建前端'
                 sh '''
-                    bash
-                    fnm current
-                    cd h5 && cnpm install && cnpm run build:test-on-server
+                    bash -c cd h5 && cnpm install && cnpm run build:test-on-server
                 '''
                 echo 'test step执行完了'
             }