-
Notifications
You must be signed in to change notification settings - Fork 133
/
.gitlab-ci.yml
35 lines (31 loc) · 912 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
before_script:
- apt-get update
after_script:
- gradle --version
bullseye-jdk11:
image: debian:bullseye-slim
script:
- apt-get -y install openjdk-11-jdk-headless gradle
- gradle build --stacktrace
artifacts:
name: public-transport-enabler-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
paths:
- build/libs/*.jar
bookworm-jdk17:
image: debian:bookworm-slim
script:
- apt-get -y install openjdk-17-jdk-headless gradle
- gradle build --stacktrace
artifacts:
name: public-transport-enabler-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
paths:
- build/libs/*.jar
default-jdk:
image: debian:testing-slim
script:
- apt-get -y install default-jdk-headless gradle
- gradle build --stacktrace
artifacts:
name: public-transport-enabler-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
paths:
- build/libs/*.jar