Try to email the build commits.
This commit is contained in:
parent
b3fac64bcb
commit
e6a734f40b
|
@ -255,7 +255,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
success {
|
success {
|
||||||
echo 'The pipeline worked!'
|
echo 'The pipeline worked!'
|
||||||
mail to: 'jenkinsbuilds@d4science.org',
|
emailext attachmentsPattern: "${AGENT_ROOT_FOLDER}/../build_commits.${PIPELINE_BUILD_NUMBER}.csv", to: 'jenkinsbuilds@d4science.org',
|
||||||
subject: "[Jenkins build D4S] build ${currentBuild.fullDisplayName} worked",
|
subject: "[Jenkins build D4S] build ${currentBuild.fullDisplayName} worked",
|
||||||
body: "Build time: ${currentBuild.durationString}. See ${env.BUILD_URL}"
|
body: "Build time: ${currentBuild.durationString}. See ${env.BUILD_URL}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue