build: 尝试使用本地npm参数。

This commit is contained in:
liqiang-fit2cloud 2022-10-14 13:41:12 +08:00
parent b402795f28
commit f1b9a45a5b
1 changed files with 1 additions and 0 deletions

1
Jenkinsfile vendored
View File

@ -45,6 +45,7 @@ pipeline {
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$PATH
java -version
mkdir -p .node/etc && npm config list > .node/etc/npmrc || env
./mvnw install -N -Drevision=${REVISION} --settings ./settings.xml
'''
}