From c47dc4827dc7ba288e59823369c7aaf772eca1f4 Mon Sep 17 00:00:00 2001 From: Olof Kallander Date: Fri, 3 Nov 2023 10:56:55 +0100 Subject: [PATCH] - --- Jenkins/PRUnitTestRunner.groovy | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Jenkins/PRUnitTestRunner.groovy b/Jenkins/PRUnitTestRunner.groovy index fb3bc873a..91332538b 100644 --- a/Jenkins/PRUnitTestRunner.groovy +++ b/Jenkins/PRUnitTestRunner.groovy @@ -25,6 +25,16 @@ void prRunner(String cmakeBuildType, String platform, String dockerTag) { sh "docker/$platform/runtests.sh" } } + post { + failure { + emailext body: 'Test Message', + recipientProviders: [requestor()], + subject: 'Jenkins PR build failed', + to: '' + attachLog: true, + body: "Jenkins Build failed" + } + } } abortPreviousRunningBuilds()