aexiaoliou 1 년 전
부모
커밋
ac8fe17893
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Jenkinsfile

+ 2 - 2
Jenkinsfile

@@ -85,8 +85,8 @@ pipeline {
                 '''
                 echo '构建前端'
                 sh '''
-                    whoami
-                    bash -c cd h5 && cnpm install && cnpm run build:test-on-server
+                    source ~/.bashrc
+                    cd h5 && cnpm install && cnpm run build:test-on-server
                 '''
                 echo 'test step执行完了'
             }