Explorar el Código

use install not update

aexiaoliou hace 1 año
padre
commit
3ff72cc61e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -84,7 +84,7 @@ pipeline {
                     cd ..
                 '''
                 echo '构建前端'
-                sh 'cd h5 && npm update && npm run build:test-on-server'
+                sh 'cd h5 && npm install && npm run build:test-on-server'
                 echo 'test step执行完了'
             }
         }