diff --git a/Jenkinsfile b/Jenkinsfile index 689fdf4f3fc..bfb76173791 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,8 +22,8 @@ pipeline { } stage('Prepare') { steps { - sh "npm install -g yarn" - sh "yarn install" + sh "npm install -g yarn --registry=${NPM_REGISTRY_URL}" + sh "yarn config set registry ${NPM_REGISTRY_URL}" sh "export XAUTHORITY=$HOME/.Xauthority" sh "chmod 600 $HOME/.vnc/passwd" }