|
|
|
@ -105,14 +105,14 @@ pipeline {
|
|
|
|
|
echo 'The actions pipeline worked!'
|
|
|
|
|
|
|
|
|
|
emailext attachmentsPattern: "**/action*${env.BUILD_NUMBER}.*",
|
|
|
|
|
to: 'manuele.simi@isti.cnr.it,roberto.cirillo@isti.cnr.it,pasquale.pagano@isti.cnr.it',
|
|
|
|
|
to: 'roberto.cirillo@isti.cnr.it,pasquale.pagano@isti.cnr.it',
|
|
|
|
|
subject: "Actions report(build #${PIPELINE_BUILD_NUMBER})",
|
|
|
|
|
body: "${currentBuild.fullDisplayName}. Build time: ${currentBuild.durationString}. See ${env.BUILD_URL}"
|
|
|
|
|
}
|
|
|
|
|
failure {
|
|
|
|
|
echo 'The actions pipeline has failed'
|
|
|
|
|
emailext attachLog: true,
|
|
|
|
|
to: 'manuele.simi@isti.cnr.it,roberto.cirillo@isti.cnr.it,pasquale.pagano@isti.cnr.it',
|
|
|
|
|
to: 'roberto.cirillo@isti.cnr.it,pasquale.pagano@isti.cnr.it',
|
|
|
|
|
subject: "[Jenkins build D4S] build ${currentBuild.fullDisplayName} failed",
|
|
|
|
|
body: "Something is wrong with ${env.BUILD_URL}"
|
|
|
|
|
}
|
|
|
|
|