Change in osmo-gsm-tester[master]: contrib: common: Record repo curr rev in have_repo instead of build_repo

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
Thu May 17 16:19:43 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/9222


Change subject: contrib: common: Record repo curr rev in have_repo instead of build_repo
......................................................................

contrib: common: Record repo curr rev in have_repo instead of build_repo

This way scripts making use only of have_repo (to have build specific
insturctions) can still benefit from that code.

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



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

diff --git a/contrib/jenkins-build-common.sh b/contrib/jenkins-build-common.sh
index 39046ef..9d85622 100644
--- a/contrib/jenkins-build-common.sh
+++ b/contrib/jenkins-build-common.sh
@@ -91,6 +91,8 @@
 
   git rev-parse HEAD
 
+  echo "$(git rev-parse HEAD) $dep" >> "$prefix_real/${name}_git_hashes.txt"
+
   cd "$base"
 }
 
@@ -122,8 +124,6 @@
 
   cd "$dep"
 
-  echo "$(git rev-parse HEAD) $dep" >> "$prefix_real/${name}_git_hashes.txt"
-
   # special shim: we know the openbsc.git needs to be built in the openbsc/ subdir.
   if [ "$dep" = "openbsc" ]; then
     cd openbsc

-- 
To view, visit https://gerrit.osmocom.org/9222
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I03149942ac1d279a15c71df3eb880c331c8fc155
Gerrit-Change-Number: 9222
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180517/62cfb98f/attachment.htm>


More information about the gerrit-log mailing list