E-Mail Notification

This commit is contained in:
Jürgen Edelbluth 2022-08-26 12:39:45 +02:00
parent 755d8f9276
commit 82584ab395
Signed by: jed
GPG Key ID: 6DEAEDD5CDB646DF
1 changed files with 3 additions and 3 deletions

6
.ci/Jenkinsfile vendored
View File

@ -39,13 +39,13 @@ pipeline {
post {
success {
cleanWs()
deleteDir()
}
always {
withCredentials([string(credentialsId: 'jed-notification-email', variable: 'EMAIL')]) {
mail to: "${EMAIL}",
subject: "[pytest-csv-params] ${currentBuild.currentResult}: ${currentBuild.fullDisplayName}",
body: "Jenkins URL: ${env.BUILD_URL}"
subject: "[${currentBuild.fullDisplayName}] Build #${currentBuild.number} :${currentBuild.currentResult}",
body: "Duration: ${currentBuild.durationString} / Jenkins URL: ${env.BUILD_URL}"
}
}
}