forked from Hg/htlle-da-vorlage
include the log as attachment to mail
This commit is contained in:
parent
57f1eb1ac5
commit
dd23a85916
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -68,7 +68,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
emailext attachLog: true, attachmentsPattern: 'diplomarbeit.pdf',
|
emailext attachLog: true, attachmentsPattern: 'diplomarbeit.pdf*',
|
||||||
body: "${currentBuild.currentResult}: Job ${env.JOB_NAME} build ${env.BUILD_NUMBER}",
|
body: "${currentBuild.currentResult}: Job ${env.JOB_NAME} build ${env.BUILD_NUMBER}",
|
||||||
recipientProviders: [requestor()],
|
recipientProviders: [requestor()],
|
||||||
subject: "Jenkins Diplomarbeit Build ${currentBuild.currentResult}"
|
subject: "Jenkins Diplomarbeit Build ${currentBuild.currentResult}"
|
||||||
|
Loading…
Reference in New Issue
Block a user