Add subunit output to ARA reporting

In order to add the ARA data as a subunit result,
and therefore see that data reflected in the
openstack-health [1] dashboard, we add the
generation of subunit data using the expected
file name [2].

[1] http://status.openstack.org/openstack-health/
[2] dde067b268/jenkins/jobs/macros.yaml (L994)

Change-Id: I4479e2894822a88ea0454f38b1a91eaba120529e
This commit is contained in:
Jesse Pretorius 2017-08-07 14:17:06 +01:00 committed by Jesse Pretorius (odyssey4me)
parent b7a0dedbf5
commit f63db53bf4
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@ function gate_job_exit_tasks {
# Generate the ARA report
/opt/ansible-runtime/bin/ara generate html "${GATE_LOG_DIR}/ara" || true
/opt/ansible-runtime/bin/ara generate subunit "${GATE_LOG_DIR}/ara/testrepository.subunit" || true
# Compress the files gathered so that they do not take up too much space.
# We use 'command' to ensure that we're not executing with some sort of alias.
if [ "$GATE_EXIT_LOG_GZIP" == true ]; then