From 02e95ae9166e6ae9b5ec0fefe474e978e1822763 Mon Sep 17 00:00:00 2001 From: Adam Townsend Date: Sat, 7 Oct 2023 09:03:39 -0700 Subject: [PATCH] added report results stage that includes the step to publish the simplecov results to Jenkins --- Jenkinsfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index c944ffa..4c2d325 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,5 +28,16 @@ pipeline { sh 'cucumber' } } + stage('Report results') { + steps { + publishHTML (target: [allowMissing: false, + alwaysLinkToLastBuild: true, + keepAlive: true, + reportDir: 'coverage', + reportFiles: 'index.html', + reportName: 'Test Results', + reportTitles: 'Test Coverage']) + } + } } }