Parcourir la source

Update Jenkinsfile

lex il y a 2 ans
Parent
commit
0d9f0d7032
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -21,7 +21,7 @@ pipeline {
         stage('build job') {
             steps {
                 sh 'node -v'
-                sh 'npm install && npm run build'
+                sh 'npm install --registry=https://registry.npmmirror.com  && npm run build'
                 sh 'tar -zcf dist.tar.gz dist/'
             }
         }