diff options
authorNeels Hofmeyr <>2017-09-07 18:29:52 +0200
committerNeels Hofmeyr <>2017-09-07 18:34:07 +0200
commitebc7426f85d03636c9045c8f9096f2d6fc2a6457 (patch)
parent36e0404f456b32898d174b8bdfb363dbe580db2e (diff)
jenkins: properly clean previous artifacts
Drop the second 'rm -f' from the rm shell command (typo). Remove all artifacts matching *.build-*.{tgz,md5} because if a job changes the name of its artifact, the previous artifacts would remain. (I hit this with the new scripts being originally wrong and all producing 'osmo-msc.*' artifacts, and those stuck around in the workspace even after the name was fixed.) Change-Id: I00d246226f4c723696bb737ed707cfd0e4c33714
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ b/contrib/
index e15c616..a5b34af 100644
--- a/contrib/
+++ b/contrib/
@@ -56,7 +56,7 @@ export LD_LIBRARY_PATH="$prefix_real/lib:$LD_LIBRARY_PATH"
env | grep -v "^LESS" | sort
# clean the workspace
-rm -f "$base/${name}"*.tgz rm -f "$base/${name}"*.md5
+rm -f "$base"/*.build-*.{tgz,md5}
rm -rf "$prefix_real"
mkdir -p "$prefix_real"