Set JAVA_HOME

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
Username404 2023-04-28 16:24:43 +02:00
parent 7574605480
commit ed9ccc399f
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 3 additions and 0 deletions

3
Jenkinsfile vendored
View File

@ -1,5 +1,8 @@
pipeline { pipeline {
agent any agent any
environment {
JAVA_HOME='/usr/lib/jvm/temurin-17-jdk-amd64/'
}
options { options {
buildDiscarder(logRotator(numToKeepStr: '48', artifactNumToKeepStr: '96')) buildDiscarder(logRotator(numToKeepStr: '48', artifactNumToKeepStr: '96'))