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.
This commit is contained in:
Rodney, Tiara 2025-04-25 19:48:11 +02:00
parent 08f9c830b6
commit c3368a3595
No known key found for this signature in database
GPG key ID: 5CD8EC1D46106723

View file

@ -26,6 +26,7 @@ definitions:
- build/debug/**/* - build/debug/**/*
- build/debug/* - build/debug/*
script: script:
- make clean
- make build/debug CI=1 - make build/debug CI=1
- step: &build-release - step: &build-release
name: Build (Release) name: Build (Release)
@ -35,6 +36,7 @@ definitions:
- build/release/**/* - build/release/**/*
- build/release/* - build/release/*
script: script:
- make clean
- make build/release CI=1 - make build/release CI=1
- step: &build-doc - step: &build-doc
name: Build (Doc) name: Build (Doc)
@ -44,6 +46,7 @@ definitions:
- build/doc/**/* - build/doc/**/*
- build/doc/* - build/doc/*
script: script:
- make clean
- make build/doc CI=1 - make build/doc CI=1
- step: &dist - step: &dist
name: Package name: Package
@ -52,6 +55,7 @@ definitions:
artifacts: artifacts:
- dist/* - dist/*
script: script:
- rm -rvf test-reports/
- make dist CI=1 - make dist CI=1
pipelines: pipelines:
default: default: