Test java 18

This commit is contained in:
apenski 2022-11-07 16:43:43 +01:00
parent 6988abbb13
commit be456a0c9b

View file

@ -125,6 +125,22 @@ java-17:
- target/surefire-reports/*.xml
- target/failsafe-reports/*.xml
java-18:
stage: build
image: $CI_REGISTRY_IMAGE/maven:3-openjdk-18
script:
- mvn $MAVEN_CLI_OPTS $BUILD_PROPS $CI_JOB_TIMESTAMP verify
retry: 2
artifacts:
when: on_failure
name: java-18
paths:
- target/*
reports:
junit:
- target/surefire-reports/*.xml
- target/failsafe-reports/*.xml
deploy:
stage: deploy
image: $CI_REGISTRY_IMAGE/maven:3-jdk-11