Skip to content

Commit

Permalink
fix Jenkinsfile
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 c8784ef commit 8b84143
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 @@ -9,7 +9,9 @@ pipeline {
agent { node { label 'linux' } }
steps {
timeout( time: 120, unit: 'MINUTES' ) {
withMaven( maven: 'maven3', jdk: 'jdk17' ) {
withEnv(["JAVA_HOME=${tool jdk17}",
"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 8b84143

Please sign in to comment.