Commit a6cd31a Dominick Leppich
committed
1 parent f2cf998 commit a6cd31a Copy full SHA for a6cd31a
File tree 3 files changed +5
-8
lines changed
3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ jobs:
14
14
steps :
15
15
- name : Check out source code
16
16
uses : actions/checkout@v4
17
- - name : Set up JDK 17
17
+ - name : Set up JDK 21
18
18
uses : actions/setup-java@v4
19
19
with :
20
20
distribution : ' temurin'
21
- java-version : 17
21
+ java-version : 21
22
22
- name : Set up Maven cache
23
23
uses : actions/cache@v4
24
24
with :
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ jobs:
14
14
steps :
15
15
- name : Check out source code
16
16
uses : actions/checkout@v4
17
- - name : Set up JDK 17
17
+ - name : Set up JDK 21
18
18
uses : actions/setup-java@v4
19
19
with :
20
20
distribution : ' temurin'
21
- java-version : 17
21
+ java-version : 21
22
22
- name : Set up Maven cache
23
23
uses : actions/cache@v4
24
24
with :
Original file line number Diff line number Diff line change @@ -3,10 +3,7 @@ pipeline {
3
3
4
4
agent {
5
5
docker {
6
- /* using a custom build image with a defined home directory for UID 1000 among other things */
7
- image ' nexus.intranda.com:4443/maven:3.9.3-eclipse-temurin-17'
8
- registryUrl ' https://nexus.intranda.com:4443'
9
- registryCredentialsId ' jenkins-docker'
6
+ image ' maven:3-eclipse-temurin-21'
10
7
args ' -v $HOME/.m2:/var/maven/.m2:z -v $HOME/.config:/var/maven/.config -v $HOME/.sonar:/var/maven/.sonar -u 1000 -ti -e _JAVA_OPTIONS=-Duser.home=/var/maven -e MAVEN_CONFIG=/var/maven/.m2'
11
8
}
12
9
}
You can’t perform that action at this time.
0 commit comments