File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ jobs:
1414 steps :
1515 - name : Check out source code
1616 uses : actions/checkout@v4
17- - name : Set up JDK 17
17+ - name : Set up JDK 21
1818 uses : actions/setup-java@v4
1919 with :
2020 distribution : ' temurin'
21- java-version : 17
21+ java-version : 21
2222 - name : Set up Maven cache
2323 uses : actions/cache@v4
2424 with :
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ jobs:
1414 steps :
1515 - name : Check out source code
1616 uses : actions/checkout@v4
17- - name : Set up JDK 17
17+ - name : Set up JDK 21
1818 uses : actions/setup-java@v4
1919 with :
2020 distribution : ' temurin'
21- java-version : 17
21+ java-version : 21
2222 - name : Set up Maven cache
2323 uses : actions/cache@v4
2424 with :
Original file line number Diff line number Diff line change @@ -3,10 +3,7 @@ pipeline {
33
44 agent {
55 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'
107 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'
118 }
129 }
You can’t perform that action at this time.
0 commit comments