From 98e506c49696e425c89d0d7b5ce5ae1268f77cd4 Mon Sep 17 00:00:00 2001 From: seth-mg Date: Tue, 3 Dec 2024 15:54:34 -0600 Subject: [PATCH] Set JAVA_HOME and PATH --- CI.Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CI.Jenkinsfile b/CI.Jenkinsfile index 21c1a5d37..8d0d3cd33 100644 --- a/CI.Jenkinsfile +++ b/CI.Jenkinsfile @@ -1,6 +1,8 @@ node ("docker-light") { def sourceDir = pwd() try { + env.JAVA_HOME = "${tool 'java21'}" + env.PATH = "${env.JAVA_HOME}/bin:${env.PATH}" def mavenLocalRepo = "$JENKINS_HOME/maven-local-repositories/executor-$EXECUTOR_NUMBER" stage("Clean up") { step([$class: 'WsCleanup'])