Pārlūkot izejas kodu

更新 'Jenkinsfile'

wuheng 1 gadu atpakaļ
vecāks
revīzija
38b8c62a53
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      Jenkinsfile

+ 2 - 2
Jenkinsfile

@@ -5,10 +5,10 @@ pipeline {
     }
     stages {
         stage('Build') {
-           checkout scm
             steps {
                 nodejs('20.6.0') {
-										sh 'npm install -g pnpm --registry https://registry.npm.taobao.org'
+					checkout scm
+					sh 'npm install -g pnpm --registry https://registry.npm.taobao.org'
                     sh 'pnpm install --registry https://registry.npm.taobao.org'
                     sh 'pnpm build:dev'
                 }