From aa772c58bb77f1f6a36fcfa9dc15159fb5650052 Mon Sep 17 00:00:00 2001 From: Scott Opell Date: Thu, 19 Oct 2023 20:24:13 +0000 Subject: [PATCH] Removes incorrect logging config file and adds unit test output to artifacts --- .gitlab-ci.yml | 4 ++-- tools/misbehaving-jmx-server/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index baa6dea7a..79c88cb4e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,14 +26,14 @@ run_unit_tests: image: eclipse-temurin:8u382-b05-jdk script: - - ./mvnw -X -Djava.util.logging.config.file=$CI_PROJECT_DIR/target/run.log -Dhttps.protocols=TLSv1.2 -Dcheckstyle.skip=true -Dtests.log_level=debug -Dtest=TestReconnectContainer -Djdk.attach.allowAttachSelf=true -B test + - ./mvnw -X -Dhttps.protocols=TLSv1.2 -Dcheckstyle.skip=true -Dtests.log_level=ALL -Dtest=TestReconnectContainer#testJMXDirectReconnect -Djdk.attach.allowAttachSelf=true -B test artifacts: expire_in: 1 mos when: always paths: - target/surefire-reports/*.txt - - target/run.log + - /tmp/jmxfetch_test.log # From the tagged repo, push the release artifact diff --git a/tools/misbehaving-jmx-server/Dockerfile b/tools/misbehaving-jmx-server/Dockerfile index bbf9224da..3d46e0f77 100644 --- a/tools/misbehaving-jmx-server/Dockerfile +++ b/tools/misbehaving-jmx-server/Dockerfile @@ -10,7 +10,7 @@ RUN mvn dependency:resolve # Copy the source code and build the JAR file COPY src/ /app/src/ -RUN mvn -X clean package assembly:single +RUN mvn clean package assembly:single RUN ls /app/target