Selaa lähdekoodia

feat(jenkins): upd

zengzhixiang 2 vuotta sitten
vanhempi
commit
de78ace2da
1 muutettua tiedostoa jossa 5 lisäystä ja 3 poistoa
  1. 5 3
      Jenkinsfile

+ 5 - 3
Jenkinsfile

@@ -35,9 +35,11 @@ pipeline {
       }
     }
     stage('构建项目') {
-          nodejs('v16') {
-            sh 'npm run build:prod'
-          }
+      steps {
+        nodejs('v16') {
+          sh 'npm run build:prod'
+        }
+      }
       // script {
       //   if ( env.BRANCH_NAME == 'master' ) {
       //   } else if ( env.BRANCH_NAME == 'uat' ){