Skip to content
Snippets Groups Projects
Commit 72ad1682 authored by Marica Antonacci's avatar Marica Antonacci
Browse files

Improve pipeline

parent 54ec8104
No related branches found
No related tags found
No related merge requests found
pipeline { pipeline {
agent { label 'docker-paas-agent' } agent { label 'docker-paas-agent' }
options {
timestamps()
}
environment { environment {
ORCHENT_AGENT_ACCOUNT='infn-cloud' ORCHENT_AGENT_ACCOUNT='infn-cloud'
...@@ -47,5 +43,8 @@ pipeline { ...@@ -47,5 +43,8 @@ pipeline {
ansible-playbook site.yaml --extra-vars "paas_ci_test_step='clean'" ansible-playbook site.yaml --extra-vars "paas_ci_test_step='clean'"
''' '''
} }
failure {
emailext body: '$DEFAULT_CONTENT', subject: '$DEFAULT_SUBJECT', to: '$DEFAULT_RECIPIENTS'
}
} }
} }
\ No newline at end of file
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