Explorar el Código

更新 'Jenkinsfile'

sifu-gogs hace 2 años
padre
commit
007a501554
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

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