Skip to content

Commit

Permalink
java_home try 3
Browse files Browse the repository at this point in the history
  • Loading branch information
chubing authored Feb 16, 2022
1 parent 6418db9 commit 7fd9dc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 7fd9dc3

Please sign in to comment.