Better use of notification address
Adresses: https://www.jenkins.io/doc/book/pipeline/jenkinsfile/#string-interpolation
This commit is contained in:
parent
bef3987479
commit
7774992eae
4
.ci/Jenkinsfile
vendored
4
.ci/Jenkinsfile
vendored
@ -43,8 +43,8 @@ pipeline {
|
||||
}
|
||||
always {
|
||||
withCredentials([string(credentialsId: 'jed-notification-email', variable: 'EMAIL')]) {
|
||||
mail to: "${EMAIL}",
|
||||
subject: "[${currentBuild.fullDisplayName}] Build #${currentBuild.number}: ${currentBuild.currentResult}",
|
||||
mail to: '$EMAIL',
|
||||
subject: "[${currentBuild.fullDisplayName}] ${currentBuild.currentResult}",
|
||||
body: "Duration: ${currentBuild.durationString} / Jenkins URL: ${env.BUILD_URL}"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user