Browse Source

更新 'Jenkinsfile-ui'

alair 4 months ago
parent
commit
615175c818
1 changed files with 4 additions and 1 deletions
  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
+					'''
                 }
 
             }