build: 多架构镜像构建
This commit is contained in:
parent
053dfa3bd9
commit
3547abdbdb
|
@ -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
|
||||
|
|
|
@ -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)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,4 +32,4 @@ target
|
|||
.project
|
||||
.classpath
|
||||
.factorypath
|
||||
src/main/resources/jmeter/lib/
|
||||
src/main/resources/jmeter/lib/ext
|
Loading…
Reference in New Issue