Commit c8eb68d5 authored by Raphael Defosseux's avatar Raphael Defosseux
Browse files

CI: adding email notification w/ HTML reports in attachment

Signed-off-by: Raphael Defosseux's avatarRaphael Defosseux <>
parent 87d5a07e
......@@ -395,6 +395,15 @@ pipeline {
script {
// Stage destroy may not be run if error in previous stage
sh "./ci-scripts/ --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
emailext attachmentsPattern: '*results*.html',
body: '''Hi,
Here are attached HTML report files for $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!
OAI CI Team''',
replyTo: '',
to: env.gitlabUserEmail
success {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment