Merge "Makes tempest sendmail failure easier to track"

This commit is contained in:
Zuul 2019-01-04 17:44:53 +00:00 committed by Gerrit Code Review
commit af3637d237
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@
"{{ lookup('env', 'JOB_NAME')|default('Periodic job', true) }}"
--file "{{ working_dir }}/{{ tempest_log_file }}"
--log-url "{{ tempestmail_log_server }}"
--skip-file "{{ working_dir }}/tempestmail/tempest_skip_{{ release }}.yml"
--skip-file "{{ working_dir }}/tempestmail/tempest_skip_{{ release }}.yml" ||
{ ERR=$?; echo -e "\0127ARNING: Send tempest results by mail failed with code $ERR"; exit $ERR; }
args:
chdir: "{{ working_dir }}/tempestmail"
ignore_errors: true