Skip to content

Commit

Permalink
Set gitlab to run automatically during testing, attempt to capture mo…
Browse files Browse the repository at this point in the history
…re of the logs
  • Loading branch information
scottopell committed Oct 19, 2023
1 parent 5ef4c16 commit 40a4e1c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ run_unit_tests:
stage: run_unit_tests

rules:
- when: manual
- when: always
allow_failure: true

tags:
Expand All @@ -26,12 +26,13 @@ run_unit_tests:
image: eclipse-temurin:8u382-b05-jdk

script:
- ./mvnw -X -Dhttps.protocols=TLSv1.2 -Dcheckstyle.skip=true -Dtests.log_level=debug -Dtest=TestReconnectContainer -Djdk.attach.allowAttachSelf=true -B test
- ./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

artifacts:
expire_in: 1 mos
paths:
- ./target/surefire-reports/*.txt
- $CI_PROJECT_DIR/target/surefire-reports/*.txt
- $CI_PROJECT_DIR/target/run.log


# From the tagged repo, push the release artifact
Expand Down

0 comments on commit 40a4e1c

Please sign in to comment.