build: add NPM_CONFIG_USERCONFIG
This commit is contained in:
parent
6ae0c40c12
commit
cae58b73f2
|
@ -47,6 +47,7 @@ pipeline {
|
||||||
export JAVA_HOME=/opt/jdk-11
|
export JAVA_HOME=/opt/jdk-11
|
||||||
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
|
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
|
||||||
export PATH=$JAVA_HOME/bin:$PATH
|
export PATH=$JAVA_HOME/bin:$PATH
|
||||||
|
export NPM_CONFIG_USERCONFIG=`pwd`/.npmrc
|
||||||
java -version
|
java -version
|
||||||
./mvnw install -N -Drevision=${REVISION} --settings ./settings.xml
|
./mvnw install -N -Drevision=${REVISION} --settings ./settings.xml
|
||||||
'''
|
'''
|
||||||
|
@ -61,6 +62,7 @@ pipeline {
|
||||||
export JAVA_HOME=/opt/jdk-11
|
export JAVA_HOME=/opt/jdk-11
|
||||||
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
|
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
|
||||||
export PATH=$JAVA_HOME/bin:$PATH
|
export PATH=$JAVA_HOME/bin:$PATH
|
||||||
|
export NPM_CONFIG_USERCONFIG=`pwd`/.npmrc
|
||||||
java -version
|
java -version
|
||||||
./mvnw install -N -Drevision=${REVISION} --settings ./settings.xml
|
./mvnw install -N -Drevision=${REVISION} --settings ./settings.xml
|
||||||
./mvnw clean install -Drevision=${REVISION} -pl framework,framework/sdk-parent,framework/sdk-parent/domain,framework/sdk-parent/sdk,framework/sdk-parent/xpack-interface --settings ./settings.xml
|
./mvnw clean install -Drevision=${REVISION} -pl framework,framework/sdk-parent,framework/sdk-parent/domain,framework/sdk-parent/sdk,framework/sdk-parent/xpack-interface --settings ./settings.xml
|
||||||
|
@ -86,6 +88,7 @@ pipeline {
|
||||||
export JAVA_HOME=/opt/jdk-11
|
export JAVA_HOME=/opt/jdk-11
|
||||||
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
|
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
|
||||||
export PATH=$JAVA_HOME/bin:$PATH
|
export PATH=$JAVA_HOME/bin:$PATH
|
||||||
|
export NPM_CONFIG_USERCONFIG=`pwd`/.npmrc
|
||||||
java -version
|
java -version
|
||||||
./mvnw clean package -Drevision=${REVISION} --settings ./settings.xml
|
./mvnw clean package -Drevision=${REVISION} --settings ./settings.xml
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue