[PATCH] osmo-bts[master]: jenkins: use osmo-clean-workspace.sh before and after build

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Oct 27 21:07:56 UTC 2017


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

jenkins: use osmo-clean-workspace.sh before and after build

See osmo-ci change I2409b2928b4d7ebbd6c005097d4ad7337307dd93 for rationale.

Depends: I2409b2928b4d7ebbd6c005097d4ad7337307dd93
Change-Id: I830b17462b636e0bf03f4d88000660409503c3e5
---
M contrib/jenkins_bts_trx.sh
M contrib/jenkins_common.sh
M contrib/jenkins_lc15.sh
M contrib/jenkins_oct.sh
M contrib/jenkins_oct_and_bts_trx.sh
M contrib/jenkins_sysmobts.sh
6 files changed, 12 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/81/4481/1

diff --git a/contrib/jenkins_bts_trx.sh b/contrib/jenkins_bts_trx.sh
index 47ccde3..9a181f2 100755
--- a/contrib/jenkins_bts_trx.sh
+++ b/contrib/jenkins_bts_trx.sh
@@ -22,3 +22,5 @@
   "
 
 build_bts "osmo-bts-trx" "$configure_flags"
+
+osmo-clean-workspace.sh
diff --git a/contrib/jenkins_common.sh b/contrib/jenkins_common.sh
index d4c3b1a..cc1b5b3 100644
--- a/contrib/jenkins_common.sh
+++ b/contrib/jenkins_common.sh
@@ -17,8 +17,9 @@
 
 export deps inst
 
+osmo-clean-workspace.sh
+
 mkdir -p "$deps"
-rm -rf "$inst"
 
 verify_value_string_arrays_are_terminated.py $(find . -name "*.[hc]")
 
diff --git a/contrib/jenkins_lc15.sh b/contrib/jenkins_lc15.sh
index 314d85c..feef302 100755
--- a/contrib/jenkins_lc15.sh
+++ b/contrib/jenkins_lc15.sh
@@ -17,3 +17,5 @@
 configure_flags="--with-litecell15=$deps/layer1-headers/inc/ --enable-litecell15"
 
 build_bts "osmo-bts-lc15" "$configure_flags"
+
+osmo-clean-workspace.sh
diff --git a/contrib/jenkins_oct.sh b/contrib/jenkins_oct.sh
index 8a351c5..1e139af 100755
--- a/contrib/jenkins_oct.sh
+++ b/contrib/jenkins_oct.sh
@@ -17,3 +17,5 @@
 configure_flags="--with-octsdr-2g=$deps/layer1-headers/ --enable-octphy"
 
 build_bts "osmo-bts-octphy" "$configure_flags"
+
+osmo-clean-workspace.sh
diff --git a/contrib/jenkins_oct_and_bts_trx.sh b/contrib/jenkins_oct_and_bts_trx.sh
index 964fb94..ac8ef6d 100755
--- a/contrib/jenkins_oct_and_bts_trx.sh
+++ b/contrib/jenkins_oct_and_bts_trx.sh
@@ -26,3 +26,5 @@
   "
 
 build_bts "osmo-bts-octphy+trx" "$configure_flags"
+
+osmo-clean-workspace.sh
diff --git a/contrib/jenkins_sysmobts.sh b/contrib/jenkins_sysmobts.sh
index ca12e76..d7caf0f 100755
--- a/contrib/jenkins_sysmobts.sh
+++ b/contrib/jenkins_sysmobts.sh
@@ -24,3 +24,5 @@
 if [ $FIRMWARE_VERSION != "femtobts_v2.7" ]; then
   $MAKE -C contrib/sysmobts-calib
 fi
+
+osmo-clean-workspace.sh

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I830b17462b636e0bf03f4d88000660409503c3e5
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list