From f1b5a11ae29bcdc2559c767d4bbb26ee865876be Mon Sep 17 00:00:00 2001 From: Ernesto Puerta Date: Mon, 24 Aug 2020 17:59:27 +0200 Subject: [PATCH] test: add JUnit result analysis to jobs Signed-off-by: Ernesto Puerta --- .../config/definitions/ceph-dashboard-pull-requests.yml | 9 +++++++-- ceph-pr-api/config/definitions/ceph-pr-api.yml | 4 ++++ .../config/definitions/ceph-pull-requests.yml | 2 ++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml b/ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml index 0753e6c8..61874944 100644 --- a/ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml +++ b/ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml @@ -21,7 +21,7 @@ auto-rebuild: true - inject: properties-content: | - TERM=xterm + TERM=xterm-256color parameters: - string: @@ -78,4 +78,9 @@ - text: credential-id: cd-cypress-record-key variable: CYPRESS_RECORD_KEY - - ansicolor + - ansicolor: + colormap: "gnome-terminal" + + publishers: + - junit: + results: '**/reports/*.xml' diff --git a/ceph-pr-api/config/definitions/ceph-pr-api.yml b/ceph-pr-api/config/definitions/ceph-pr-api.yml index a9fa5b35..890f63e9 100644 --- a/ceph-pr-api/config/definitions/ceph-pr-api.yml +++ b/ceph-pr-api/config/definitions/ceph-pr-api.yml @@ -71,3 +71,7 @@ wrappers: - ansicolor + + publishers: + - junit: + results: '**/reports/*.xml' diff --git a/ceph-pull-requests/config/definitions/ceph-pull-requests.yml b/ceph-pull-requests/config/definitions/ceph-pull-requests.yml index 1ef21979..8626c7ca 100644 --- a/ceph-pull-requests/config/definitions/ceph-pull-requests.yml +++ b/ceph-pull-requests/config/definitions/ceph-pull-requests.yml @@ -66,6 +66,8 @@ - ../../build/build publishers: + - junit: + results: '**/reports/*.xml' - cobertura: report-file: "src/pybind/mgr/dashboard/frontend/coverage/cobertura-coverage.xml" only-stable: "true" -- 2.39.5