From 8bedf8ce5f5563991d3910d533f112bfc327c46d Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Tue, 2 May 2017 17:00:30 +0200 Subject: jenkins: make sure to have only the latest binary tar in a workspace --- contrib/jenkins-osmo-bts-octphy.sh | 1 + contrib/jenkins-osmo-bts-sysmo.sh | 1 + contrib/jenkins-osmo-bts-trx.sh | 1 + contrib/jenkins-osmo-nitb.sh | 1 + 4 files changed, 4 insertions(+) (limited to 'contrib') diff --git a/contrib/jenkins-osmo-bts-octphy.sh b/contrib/jenkins-osmo-bts-octphy.sh index 4284262..49560ca 100755 --- a/contrib/jenkins-osmo-bts-octphy.sh +++ b/contrib/jenkins-osmo-bts-octphy.sh @@ -61,5 +61,6 @@ for dep in $deps; do done # build the archive that is going to be copied to the tester +rm "$base"/*.tgz || true cd "$prefix" tar czf "$base/osmo-bts-octphy.build-${BUILD_NUMBER}.tgz" * diff --git a/contrib/jenkins-osmo-bts-sysmo.sh b/contrib/jenkins-osmo-bts-sysmo.sh index 7870259..52f7593 100755 --- a/contrib/jenkins-osmo-bts-sysmo.sh +++ b/contrib/jenkins-osmo-bts-sysmo.sh @@ -65,5 +65,6 @@ for dep in $deps; do done # build the archive that is going to be copied to the tester and then to the BTS +rm "$base"/*.tgz || true cd "$prefix_real" tar cvzf "$base/osmo-bts-sysmo.build-${BUILD_NUMBER}.tgz" * diff --git a/contrib/jenkins-osmo-bts-trx.sh b/contrib/jenkins-osmo-bts-trx.sh index acdcc89..e44cf0a 100755 --- a/contrib/jenkins-osmo-bts-trx.sh +++ b/contrib/jenkins-osmo-bts-trx.sh @@ -60,5 +60,6 @@ for dep in $deps; do done # build the archive that is going to be copied to the tester +rm "$base"/*.tgz || true cd "$prefix" tar czf "$base/osmo-bts-trx.build-${BUILD_NUMBER}.tgz" * diff --git a/contrib/jenkins-osmo-nitb.sh b/contrib/jenkins-osmo-nitb.sh index e655082..05d2041 100755 --- a/contrib/jenkins-osmo-nitb.sh +++ b/contrib/jenkins-osmo-nitb.sh @@ -59,5 +59,6 @@ for dep in $deps; do done # build the archive that is going to be copied to the tester +rm "$base"/*.tgz || true cd "$prefix" tar czf "$base/osmo-nitb.build-${BUILD_NUMBER}.tgz" * -- cgit v1.2.3