build: 尝试使用本地npm参数。
This commit is contained in:
parent
b402795f28
commit
f1b9a45a5b
|
@ -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
|
||||
'''
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue