From a93c8213719e4732f6935085192e1c746bd4f0ac Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 14 Jun 2024 19:38:41 +1000 Subject: [PATCH] publish html Signed-off-by: Olivier Lamy --- Jenkinsfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index d22f94f..895c563 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,6 +16,13 @@ pipeline { "PATH+MAVEN=${env.JAVA_HOME}/bin:${tool 'maven3'}/bin", "MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) { sh "bash ./jetty-website.sh --follow-log --user-sudo jenkins --directive stage -u ''" + publishHTML (target : [allowMissing: false, + alwaysLinkToLastBuild: true, + keepAll: true, + reportDir: 'target/stage', + reportFiles: 'index.html', + reportName: 'Jetty site', + reportTitles: 'Jetty site']) } } }