use eclipse-temurin:21-jdk in Jenkinsfile

This commit is contained in:
Michael Hoennig 2024-10-10 14:28:49 +02:00
parent dfda94b9fd
commit c035f13119

2
Jenkinsfile vendored
View File

@ -15,7 +15,7 @@ pipeline {
stage ('Compile & Test') { stage ('Compile & Test') {
agent { agent {
docker { docker {
image 'openjdk:21' image 'eclipse-temurin:21-jdk'
args '-v "$PWD":/app' args '-v "$PWD":/app'
reuseNode true reuseNode true
} }