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

Added mail if deployment fails

parent a0404258
No related branches found
No related tags found
1 merge request!106Added mail if deployment fails
Pipeline #136227 failed
......@@ -54,6 +54,11 @@ pipeline {
ansible-playbook site.yaml --extra-vars "paas_ci_test_step='create_deployment'"
'''
}
post {
failure {
emailext body: '$DEFAULT_CONTENT', subject: '$PROJECT_NAME - Build # $BUILD_NUMBER: Error during deployment!', to: '$DEFAULT_RECIPIENTS'
}
}
}
stage ('Scan endpoints'){
steps {
......
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