summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-06-18 02:04:49 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-06-18 02:15:22 +0200
commit640c7760e9cad7e26de685838378293805478413 (patch)
treea4ebb067f73a98c9bb043b9dfe4624a911136d6a /contrib
parent1dd2955cb1db5f0de196051b59cecaeb7e711e49 (diff)
jenkins-run: create bin.tgz separately from run.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
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/jenkins-run.sh5
1 files changed, 4 insertions, 1 deletions
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 @@ fi
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