sifu-gogs 2 жил өмнө
parent
commit
007a501554
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -7,7 +7,7 @@ pipeline {
     stages {
     stages {
         stage('Build') {
         stage('Build') {
             steps {
             steps {
-                sh 'npm install'
+                sh 'npm install --registry https://registry.npm.taobao.org'
                 sh 'npm run build:prod'
                 sh 'npm run build:prod'
             }
             }
         }
         }