Skip to content

Commit

Permalink
Try with official JDK 17 image
Browse files Browse the repository at this point in the history
  • Loading branch information
Griefed committed Nov 10, 2023
1 parent 43e0717 commit 7d93dd6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ workflow:

Build Test:
stage: Tests
image: docker.griefed.dev/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
image: docker.griefed.dev/eclipse-temurin:17-jdk-jammy
before_script:
- echo "**** Running in $CI_JOB_ID ****"
- echo "**** Java location ****"
Expand All @@ -36,7 +36,7 @@ Build Test:
- chmod +x gradlew
script:
- echo "**** Building ****"
- "./gradlew blockAndItemCodeGen build --info --full-stacktrace"
- "./gradlew clean blockAndItemCodeGen build --info --full-stacktrace"
retry: 1
rules:
- if: '$CI_SERVER_HOST == "git.griefed.de"'
Expand Down Expand Up @@ -65,7 +65,7 @@ Generate Release:

Build Release:
stage: Build Release
image: docker.griefed.dev/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
image: docker.griefed.dev/eclipse-temurin:17-jdk-jammy
needs:
- job: Build Test
artifacts: false
Expand All @@ -83,7 +83,7 @@ Build Release:
- chmod +x gradlew
script:
- echo "**** Building ****"
- "./gradlew -Pversion=${CI_COMMIT_TAG} blockAndItemCodeGen build --info --full-stacktrace"
- "./gradlew -Pversion=${CI_COMMIT_TAG} clean blockAndItemCodeGen build --info --full-stacktrace"
- echo "**** Listing build directory ****"
- LC_COLLATE=C ls -ahl --group-directories-first --color=auto */build
- LC_COLLATE=C ls -ahl --group-directories-first --color=auto */build/*
Expand Down

0 comments on commit 7d93dd6

Please sign in to comment.