Explorar el Código

更新 'Jenkinsfile-ui'

alair hace 4 meses
padre
commit
615175c818
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      Jenkinsfile-ui

+ 4 - 1
Jenkinsfile-ui

@@ -18,7 +18,10 @@ pipeline{
         stage('通过node构建项目') {
             steps {
                 nodejs('nodejs24.12.0') {
-                    sh '''npm run build:prod'''
+                    sh '''
+					npm i
+					npm run build:prod
+					'''
                 }
 
             }