Explorar el Código

feat(jenkins): upd

zengzhixiang hace 2 años
padre
commit
de78ace2da
Se han modificado 1 ficheros con 5 adiciones y 3 borrados
  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' ){