[PATCH] osmo-gsm-tester[master]: jenkins-run: create separate run log and bin tgz

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
Sun Jun 18 00:06:18 UTC 2017


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

jenkins-run: create separate run log and bin tgz

The binary tars are fairly large, and usually one wants to investigate the run
dir logs without any need to download the binaries. Archive the binary tars
separately from the run logs.

Change-Id: I23e6df0d30fc9ea7c5b48bb2364be075d910bfcd
---
M contrib/jenkins-run.sh
1 file changed, 4 insertions(+), 1 deletion(-)


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

diff --git a/contrib/jenkins-run.sh b/contrib/jenkins-run.sh
index 3931ddb..8c24385 100755
--- a/contrib/jenkins-run.sh
+++ b/contrib/jenkins-run.sh
@@ -1,5 +1,6 @@
 #!/bin/sh
 set -e -x
+base="$PWD"
 
 # remove older trial dirs and *-run.tgz, if any
 trial_dir_prefix="trial-"
@@ -26,6 +27,8 @@
 rm -rf "$trial_dir/inst" || true
 
 # tar up all results for archiving (optional)
-tar czf "$trial_dir"-run.tgz "$trial_dir"
+cd "$trial_dir"
+tar czf "$base/${trial_dir}-run.tgz" "$(readlink last_run)"
+tar czf "$base/${trial_dir}-bin.tgz" *.md5 *.tgz
 
 exit $exit_code

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

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



More information about the gerrit-log mailing list