From dd31522be2b6f6ee7e7b3526d9d6e8f80900dba4 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Thu, 27 Oct 2022 20:48:36 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E5=8E=BB=E6=8E=89npmrc=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2654006eaa..446019c9ec 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -42,7 +42,7 @@ pipeline { stage('POM') { when { environment name: 'BUILD_PARENT', value: 'true' } steps { - configFileProvider([configFile(fileId: 'metersphere-maven', targetLocation: 'settings.xml'), configFile(fileId: 'metersphere-npmrc', targetLocation: '.npmrc')]) { + configFileProvider([configFile(fileId: 'metersphere-maven', targetLocation: 'settings.xml')]) { sh '''#!/bin/bash -xe export JAVA_HOME=/opt/jdk-11 export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH @@ -56,7 +56,7 @@ pipeline { stage('SDK') { when { environment name: 'BUILD_SDK', value: 'true' } steps { - configFileProvider([configFile(fileId: 'metersphere-maven', targetLocation: 'settings.xml'), configFile(fileId: 'metersphere-npmrc', targetLocation: '.npmrc')]) { + configFileProvider([configFile(fileId: 'metersphere-maven', targetLocation: 'settings.xml')]) { sh '''#!/bin/bash -xe export JAVA_HOME=/opt/jdk-11 export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH @@ -81,7 +81,7 @@ pipeline { } } steps { - configFileProvider([configFile(fileId: 'metersphere-maven', targetLocation: 'settings.xml'), configFile(fileId: 'metersphere-npmrc', targetLocation: '.npmrc')]) { + configFileProvider([configFile(fileId: 'metersphere-maven', targetLocation: 'settings.xml')]) { sh '''#!/bin/bash -xe export JAVA_HOME=/opt/jdk-11 export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH