Commit 8935af52 authored by Florian Schäfer's avatar Florian Schäfer

Build with JDK 11 and 12 on GitLab CI

parent af4f04c1
Pipeline #39779690 failed with stages
in 3 minutes and 7 seconds
......@@ -16,7 +16,7 @@ cache:
assemble:
stage: build
script:
- ./gradlew assemble
- ./gradlew assemble --stacktrace
artifacts:
paths:
- build/
......@@ -30,6 +30,24 @@ assemble with java 10:
paths:
- build/
assemble with java 11:
stage: build
image: registry.gitlab.com/josm/docker-library/openjdk-11-josmplugin:latest
script:
- ./gradlew assemble --stacktrace
artifacts:
paths:
- build/
assemble with java 12:
stage: build
image: registry.gitlab.com/josm/docker-library/openjdk-12-josmplugin:latest
script:
- ./gradlew assemble --stacktrace
artifacts:
paths:
- build/
##############
# Test stage #
......@@ -38,7 +56,7 @@ assemble with java 10:
build:
stage: test
script:
- ./gradlew build generatePot generateSnapshotUpdateSite
- ./gradlew build generatePot generateSnapshotUpdateSite --stacktrace
artifacts:
paths:
- build
......@@ -63,10 +81,26 @@ build with java 10:
stage: test
image: registry.gitlab.com/josm/docker-library/openjdk-10-josmplugin:latest
script:
- ./gradlew build
- ./gradlew build --stacktrace
dependencies:
- assemble with java 10
build with java 11:
stage: test
image: registry.gitlab.com/josm/docker-library/openjdk-11-josmplugin:latest
script:
- ./gradlew build --stacktrace
dependencies:
- assemble with java 11
build with java 12:
stage: test
image: registry.gitlab.com/josm/docker-library/openjdk-12-josmplugin:latest
script:
- ./gradlew build --stacktrace
dependencies:
- assemble with java 12
################
# Deploy stage #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment