From c3368a35953494e7e00021c88726701269d94212 Mon Sep 17 00:00:00 2001 From: "Rodney, Tiara" Date: Fri, 25 Apr 2025 19:48:11 +0200 Subject: [PATCH] style(ci): add commands for removing test-reports Bitbucket Pipelines has some weird default behavior on how artifacts are archived and JUnit test-reports are parsed on every subsequent run, if the output was once an artifact. It's confusing to look at via the dashboard, hence I'm adding an override to remove them beforehand. --- bitbucket-pipelines.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 9a9a7a3..f11a6e3 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -26,6 +26,7 @@ definitions: - build/debug/**/* - build/debug/* script: + - make clean - make build/debug CI=1 - step: &build-release name: Build (Release) @@ -35,6 +36,7 @@ definitions: - build/release/**/* - build/release/* script: + - make clean - make build/release CI=1 - step: &build-doc name: Build (Doc) @@ -44,6 +46,7 @@ definitions: - build/doc/**/* - build/doc/* script: + - make clean - make build/doc CI=1 - step: &dist name: Package @@ -52,6 +55,7 @@ definitions: artifacts: - dist/* script: + - rm -rvf test-reports/ - make dist CI=1 pipelines: default: