From 852b0011ac8966b7647f91164cf5679dec8bf408 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 18 Feb 2022 11:35:34 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E5=A4=9A=E6=9E=B6=E6=9E=84=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-push.yml | 2 +- Jenkinsfile | 2 +- backend/.gitignore | 2 +- backend/src/main/resources/jmeter/lib/junit/.gitkeep | 0 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 backend/src/main/resources/jmeter/lib/junit/.gitkeep diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index a743d7e79b..2eca08df4f 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -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 diff --git a/Jenkinsfile b/Jenkinsfile index a96b5589dd..e9fda0ea09 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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)" } } } diff --git a/backend/.gitignore b/backend/.gitignore index c8d5907dfc..fbccd12cdc 100644 --- a/backend/.gitignore +++ b/backend/.gitignore @@ -32,4 +32,4 @@ target .project .classpath .factorypath -src/main/resources/jmeter/lib/ \ No newline at end of file +src/main/resources/jmeter/lib/ext \ No newline at end of file diff --git a/backend/src/main/resources/jmeter/lib/junit/.gitkeep b/backend/src/main/resources/jmeter/lib/junit/.gitkeep new file mode 100644 index 0000000000..e69de29bb2