[PATCH] osmo-gsm-tester[master]: contrib: Fix regexp issue deleting previous artifacts

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Wed Sep 13 15:40:43 UTC 2017


Review at  https://gerrit.osmocom.org/3927

contrib: Fix regexp issue deleting previous artifacts

Commit 36e0404f456b32898d174b8bdfb363dbe580db2e recently modified the
line to fix an issue, but it seems the new introduced regexp is not
handled properly by jenkins jobs (it works in my terminal locally
thought).

As a result, the previous artificats are not being deleted and copied
over to next jobs in the chain, and osmo-gsm-tester fails because it
finds several tar.gz of the same type for a given inst.

I did some tests in a jenkins job (osmo-gsm-tester_osmo-pcu-sysmo) which
contained several non-deleted artficats and found out a regexp which is
supported correctly.

Change-Id: I2cda58dde9c5ad26ec71081403a38cf1b6dd0e7b
---
M contrib/jenkins-build-common.sh
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/27/3927/1

diff --git a/contrib/jenkins-build-common.sh b/contrib/jenkins-build-common.sh
index a5b34af..39046ef 100644
--- a/contrib/jenkins-build-common.sh
+++ b/contrib/jenkins-build-common.sh
@@ -56,7 +56,8 @@
 env | grep -v "^LESS" | sort
 
 # clean the workspace
-rm -f "$base"/*.build-*.{tgz,md5}
+rm -f "$base"/*.build-*.tgz
+rm -f "$base"/*.build-*.md5
 rm -rf "$prefix_real"
 mkdir -p "$prefix_real"
 

-- 
To view, visit https://gerrit.osmocom.org/3927
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2cda58dde9c5ad26ec71081403a38cf1b6dd0e7b
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list