aboutsummaryrefslogtreecommitdiff
path: root/.scripts.d
diff options
context:
space:
mode:
authorChristian Segundo2024-07-08 16:19:21 +0200
committerChristian Segundo2024-07-08 16:20:05 +0200
commit31510c7fdd0f60751faeb9ac343177328bc7f1e4 (patch)
tree7a83b5d0ab28ca4aa6456709d929226253a7923a /.scripts.d
parent1963601c8b743f637fca66008fd3f36275906643 (diff)
downloadjenkins-agent-docker-cli-31510c7fdd0f60751faeb9ac343177328bc7f1e4.tar.gz
remove build/reports on every build
Diffstat (limited to '.scripts.d')
-rw-r--r--.scripts.d/30-test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/.scripts.d/30-test.sh b/.scripts.d/30-test.sh
index 46fdd9d..2bd08c2 100644
--- a/.scripts.d/30-test.sh
+++ b/.scripts.d/30-test.sh
@@ -23,5 +23,6 @@ export GOSS_FILES_STRATEGY=cp
goss --gossfile goss.yaml render >goss-full.yaml
mv goss-full.yaml goss.yaml
+rm -rf build/reports/
mkdir -p build/reports/
dgoss run "chn2guevara/jenkins-agent-docker-cli:${BUILD_ID}" "/usr/bin/sleep" "infinity" >build/reports/goss.xml