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: