parent
cdd5fab7e1
commit
a959e16e22
|
@ -13,7 +13,7 @@ pipeline {
|
|||
stage('Build/Test') {
|
||||
steps {
|
||||
configFileProvider([configFile(fileId: 'metersphere-maven', targetLocation: 'settings.xml')]) {
|
||||
sh 'export JAVA_HOME=/opt/jdk-11;export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH;export PATH=$PATH:$JAVA_HOME/bin'
|
||||
sh 'export JAVA_HOME=/opt/jdk-11;export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH;export PATH=$JAVA_HOME/bin:$PATH'
|
||||
sh 'java -version'
|
||||
sh "./mvnw clean package --settings ./settings.xml"
|
||||
sh "mkdir -p backend/target/dependency && (cd backend/target/dependency; jar -xf ../*.jar)"
|
||||
|
|
Loading…
Reference in New Issue