Skip to content

Commit

Permalink
Update .gitlab-ci.yml -Update java version for nightly build
Browse files Browse the repository at this point in the history
  • Loading branch information
niio972 committed Jul 9, 2024
1 parent 14a7b7b commit 4ab9d9a
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ variables:
MAVEN_OPTS_SCHUEDULES: "-Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=ERROR -Dorg.slf4j.simpleLogger.defaultLogLevel=error -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true"
MAVEN_SKIP_TESTS: "false"
# DEFAULT SERVER MAVEN VERSION
MVN_VERSION: 3.8.6
MVN_VERSION: 3.8.8
# DEFAULT SERVER JAVA VERSION
JAVA_VERSION: 11
## DEPLOY CONFIGS ##
Expand Down Expand Up @@ -540,7 +540,7 @@ update:nightly:builds:branch:
- echo "with_java $JAVA_VERSION and maven $MVN_VERSION with latest version of OpenSILEX/opensilex-dev"
- apt-get update && apt-get install -y git
stage: build
image: maven:$MVN_VERSION-openjdk-$JAVA_VERSION-slim
image: maven:$MVN_VERSION-eclipse-temurin-$JAVA_VERSION
script:
- mvn clean install $MAVEN_OPTS -Drevision=$OPENSILEX_APP_REVISION
- ls $OPENSILEX_BUILD_PATH/opensilex-release-$OPENSILEX_APP_REVISION
Expand All @@ -554,14 +554,10 @@ update:nightly:builds:branch:
.with_java11: &java11
variables:
JAVA_VERSION: 11

.with_java14: &java14
.with_java17: &java17
variables:
JAVA_VERSION: 14

#.with_java17: &java17
# variables:
# JAVA_VERSION: 17
JAVA_VERSION: 17


test:build:java11:
Expand Down

0 comments on commit 4ab9d9a

Please sign in to comment.