From eac517c1af280b47370488e84e501721dff725e0 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Wed, 30 Aug 2023 12:22:55 +0200 Subject: [PATCH] jobs/master-builds: xgoldmon: remove osmo-ci dir Fix running the job multiple times in a row. As the master jobs don't wipe the git repositories, we need to remove the osmo-ci dir first before attempting another shallow clone. Fixes: 451cbe7d ("jobs/master-builds: add xgoldmon") Change-Id: I877944dbca9d1c3ca57b05e947ba9b3506971bdc --- jobs/master-builds.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml index f57bc967..b102563f 100644 --- a/jobs/master-builds.yml +++ b/jobs/master-builds.yml @@ -529,6 +529,7 @@ - xgoldmon: git_base_url: https://github.com/2b-as cmd: | + rm -rf osmo-ci git clone --depth=1 https://gerrit.osmocom.org/osmo-ci -b master {docker_run_ccache} {docker_img} {timeout_cmd} /build/osmo-ci/scripts/xgoldmon-jenkins.sh