diff --git a/Jenkinsfile b/Jenkinsfile index 97679b2..1779562 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,7 +21,9 @@ node('docker') { sh 'ls /tmp' } } - + environment { + JAVA_HOME=/home/centos/agent/tools/hudson.model.JDK/Corretto-JDK8/amazon-corretto-8.322.06.2-linux-x64 + } stage("Checkout") { checkout_result = checkout([ $class: 'GitSCM',