mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 03:58:33 +08:00
ci: 做包同时install到本地仓库
This commit is contained in:
parent
4ddedcfff8
commit
fdb74fc805
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -61,7 +61,7 @@ pipeline {
|
|||||||
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
|
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
|
||||||
export PATH=$JAVA_HOME/bin:/opt/apache-maven-3.8.3/bin:$PATH
|
export PATH=$JAVA_HOME/bin:/opt/apache-maven-3.8.3/bin:$PATH
|
||||||
java -version
|
java -version
|
||||||
mvn clean package -Drevision=${REVISION} -DskipTests --settings ./settings.xml
|
mvn clean install -Drevision=${REVISION} -DskipTests --settings ./settings.xml
|
||||||
mkdir -p backend/app/target/dependency && (cd backend/app/target/dependency && jar -xf ../*.jar);
|
mkdir -p backend/app/target/dependency && (cd backend/app/target/dependency && jar -xf ../*.jar);
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user