From e16a95c165d56d2d87c2dad17fdacb57ace20618 Mon Sep 17 00:00:00 2001 From: Tyler Levine Date: Sat, 22 Jun 2019 16:47:47 -0700 Subject: [PATCH] CT-443: Upload test reports even when pipeline is in failed state --- .drone.jsonnet | 3 +++ .drone.yml | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/.drone.jsonnet b/.drone.jsonnet index 98e3195bc5..32e0a87cfa 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -84,6 +84,9 @@ local UploadReports(version, tag="untagged") = { "yarn run gen-coverage", "yarn run coverage -F " + tag, ], + when: { + status: ["success", "failure"] + } }; local UnitTest(version) = { diff --git a/.drone.yml b/.drone.yml index 89b3c54228..95e3638cd2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -167,6 +167,10 @@ steps: from_secret: reports_s3_akid reports_s3_sak: from_secret: reports_s3_sak + when: + status: + - success + - failure trigger: branch: @@ -220,6 +224,10 @@ steps: from_secret: reports_s3_akid reports_s3_sak: from_secret: reports_s3_sak + when: + status: + - success + - failure trigger: branch: @@ -273,6 +281,10 @@ steps: from_secret: reports_s3_akid reports_s3_sak: from_secret: reports_s3_sak + when: + status: + - success + - failure trigger: branch: @@ -326,6 +338,10 @@ steps: from_secret: reports_s3_akid reports_s3_sak: from_secret: reports_s3_sak + when: + status: + - success + - failure trigger: branch: @@ -379,6 +395,10 @@ steps: from_secret: reports_s3_akid reports_s3_sak: from_secret: reports_s3_sak + when: + status: + - success + - failure trigger: branch: