Update 'Jenkinsfile'

removed manuele simi's email from pipeline
This commit is contained in:
Roberto Cirillo 2023-01-16 11:29:08 +01:00
parent 6562510e4d
commit 884b1cce1b
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -105,14 +105,14 @@ pipeline {
echo 'The actions pipeline worked!' echo 'The actions pipeline worked!'
emailext attachmentsPattern: "**/action*${env.BUILD_NUMBER}.*", 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})", subject: "Actions report(build #${PIPELINE_BUILD_NUMBER})",
body: "${currentBuild.fullDisplayName}. Build time: ${currentBuild.durationString}. See ${env.BUILD_URL}" body: "${currentBuild.fullDisplayName}. Build time: ${currentBuild.durationString}. See ${env.BUILD_URL}"
} }
failure { failure {
echo 'The actions pipeline has failed' echo 'The actions pipeline has failed'
emailext attachLog: true, 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", subject: "[Jenkins build D4S] build ${currentBuild.fullDisplayName} failed",
body: "Something is wrong with ${env.BUILD_URL}" body: "Something is wrong with ${env.BUILD_URL}"
} }