Adjust subject and body.
This commit is contained in:
parent
fedf9bf2c3
commit
d191329eb7
|
@ -263,8 +263,8 @@ pipeline {
|
||||||
body: "Build time: ${currentBuild.durationString}. See ${env.BUILD_URL}"
|
body: "Build time: ${currentBuild.durationString}. See ${env.BUILD_URL}"
|
||||||
emailext attachmentsPattern: "**/*.${PIPELINE_BUILD_NUMBER}.csv",
|
emailext attachmentsPattern: "**/*.${PIPELINE_BUILD_NUMBER}.csv",
|
||||||
to: 'jenkinsreleases@d4science.org',
|
to: 'jenkinsreleases@d4science.org',
|
||||||
subject: "[Jenkins ${TYPE} report] report for ${currentBuild.fullDisplayName}",
|
subject: "${TYPE} report for release ${GCUBE_RELEASE_NUMBER} (build #${PIPELINE_BUILD_NUMBER})",
|
||||||
body: "Build time: ${currentBuild.durationString}. See ${env.BUILD_URL}"
|
body: "${currentBuild.fullDisplayName}. Build time: ${currentBuild.durationString}. See ${env.BUILD_URL}"
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
echo 'The pipeline has failed'
|
echo 'The pipeline has failed'
|
||||||
|
|
Loading…
Reference in New Issue