From f63db53bf4f4f8bc3e30742e8208f0e746ece36c Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Mon, 7 Aug 2017 14:17:06 +0100 Subject: [PATCH] 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] https://github.com/openstack-infra/project-config/blob/dde067b26873f8e4c290e467a0f13747369f9ff7/jenkins/jobs/macros.yaml#L994 Change-Id: I4479e2894822a88ea0454f38b1a91eaba120529e --- scripts/scripts-library.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/scripts-library.sh b/scripts/scripts-library.sh index e2a378fd39..34c9a95f82 100755 --- a/scripts/scripts-library.sh +++ b/scripts/scripts-library.sh @@ -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