From ed9ccc399f89a85315849209d4398965e276b10e Mon Sep 17 00:00:00 2001 From: Username404 Date: Fri, 28 Apr 2023 16:24:43 +0200 Subject: [PATCH] Set JAVA_HOME Signed-off-by: Username404 --- Jenkinsfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 9fd41fc..362eebc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,8 @@ pipeline { agent any + environment { + JAVA_HOME='/usr/lib/jvm/temurin-17-jdk-amd64/' + } options { buildDiscarder(logRotator(numToKeepStr: '48', artifactNumToKeepStr: '96'))