Skip to content

Commit

Permalink
force java 21
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Lamy <[email protected]>
  • Loading branch information
olamy committed Jun 14, 2024
1 parent cf7705e commit 1fd8ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipeline {
agent { node { label 'linux' } }
steps {
timeout( time: 120, unit: 'MINUTES' ) {
withEnv(["JAVA_HOME=${tool 'jdk17'}",
withEnv(["JAVA_HOME=${tool 'jdk21'}",
"PATH+MAVEN=${env.JAVA_HOME}/bin:${tool 'maven3'}/bin",
"MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) {
sh "bash ./jetty-website.sh --follow-log --directive stage"
Expand Down

0 comments on commit 1fd8ae9

Please sign in to comment.