From dd23a85916f1c895fbbf4d073df4e0b4fe0b2c1c Mon Sep 17 00:00:00 2001 From: Clemens Lauermann Date: Thu, 16 Apr 2020 17:01:45 +0200 Subject: [PATCH] include the log as attachment to mail --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2c156f5..87ccec7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -68,7 +68,7 @@ pipeline { } post { always { - emailext attachLog: true, attachmentsPattern: 'diplomarbeit.pdf', + emailext attachLog: true, attachmentsPattern: 'diplomarbeit.pdf*', body: "${currentBuild.currentResult}: Job ${env.JOB_NAME} build ${env.BUILD_NUMBER}", recipientProviders: [requestor()], subject: "Jenkins Diplomarbeit Build ${currentBuild.currentResult}"