Skip to content
Snippets Groups Projects
Commit 9b1bc7ae authored by Gioacchino Vino's avatar Gioacchino Vino
Browse files

Switch from default_recipients to recipients

parent cb38dd93
No related branches found
No related tags found
1 merge request!127Switch from default_recipients to recipients
......@@ -46,7 +46,7 @@ pipeline {
}
post {
failure {
emailext body: '$DEFAULT_CONTENT', subject: '$PROJECT_NAME - Build # $BUILD_NUMBER: Error during environmenti checking!', to: '$DEFAULT_RECIPIENTS'
emailext body: '$DEFAULT_CONTENT', subject: '$PROJECT_NAME - Build # $BUILD_NUMBER: Error during environmenti checking!', to: '$RECIPIENTS'
}
}
}
......@@ -60,7 +60,7 @@ pipeline {
post {
failure {
archiveArtifacts artifacts: '*deployment.txt', allowEmptyArchive: true
emailext attachmentsPattern: '*deployment.txt', body: '$DEFAULT_CONTENT', subject: '$PROJECT_NAME - Build # $BUILD_NUMBER: Error during deployment!', to: '$DEFAULT_RECIPIENTS'
emailext attachmentsPattern: '*deployment.txt', body: '$DEFAULT_CONTENT', subject: '$PROJECT_NAME - Build # $BUILD_NUMBER: Error during deployment!', to: '$RECIPIENTS'
}
}
}
......@@ -81,7 +81,7 @@ pipeline {
post {
failure {
archiveArtifacts artifacts: '*report.pdf', allowEmptyArchive: true
emailext attachmentsPattern: '*report.pdf', body: '$DEFAULT_CONTENT', subject: '$PROJECT_NAME - Build # $BUILD_NUMBER: Vulnerabilities detected!', to: '$DEFAULT_RECIPIENTS'
emailext attachmentsPattern: '*report.pdf', body: '$DEFAULT_CONTENT', subject: '$PROJECT_NAME - Build # $BUILD_NUMBER: Vulnerabilities detected!', to: '$RECIPIENTS'
}
}
}
......@@ -95,7 +95,7 @@ pipeline {
failure {
script {
if ( fileExists ('severity.json')) {
emailext body: '$DEFAULT_CONTENT', subject: '$DEFAULT_SUBJECT', to: '$DEFAULT_RECIPIENTS'
emailext body: '$DEFAULT_CONTENT', subject: '$DEFAULT_SUBJECT', to: '$RECIPIENTS'
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment