build: 多架构镜像构建

This commit is contained in:
CaptainB 2022-02-18 11:35:34 +08:00 committed by 刘瑞斌
parent 6ab370dbbe
commit 852b0011ac
4 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ jobs:
run: mvn -B package --file pom.xml
- name: Unzip jar
run: mkdir -p backend/target/dependency && (cd backend/target/dependency; jar -xf ../*.jar) && mkdir -p backend/target/dependency/BOOT-INF/classes/jmeter/lib/junit
run: mkdir -p backend/target/dependency && (cd backend/target/dependency; jar -xf ../*.jar)
- name: Prepare
id: prepare

2
Jenkinsfile vendored
View File

@ -17,7 +17,7 @@ pipeline {
// sh "yarn install"
// sh "cd .."
sh "./mvnw clean package --settings ./settings.xml"
sh "mkdir -p backend/target/dependency && (cd backend/target/dependency; jar -xf ../*.jar) && mkdir -p backend/target/dependency/BOOT-INF/classes/jmeter/lib/junit"
sh "mkdir -p backend/target/dependency && (cd backend/target/dependency; jar -xf ../*.jar)"
}
}
}

2
backend/.gitignore vendored
View File

@ -32,4 +32,4 @@ target
.project
.classpath
.factorypath
src/main/resources/jmeter/lib/
src/main/resources/jmeter/lib/ext