diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-12-22 16:24:19 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-12-22 16:24:19 +0100 |
commit | 27b847702c9291efde6e971c659f325e63b201df (patch) | |
tree | a5cd9ecb424ecaaab3f0701b6cbe597e960d360b /bin/reproducible_netbsd.sh | |
parent | 7e77410f4783ae07d7a81afb92c39135c547d612 (diff) | |
download | jenkins.debian.net-27b847702c9291efde6e971c659f325e63b201df.tar.xz |
reproducible netbsd: add code to aid debugging #842250
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_netbsd.sh')
-rwxr-xr-x | bin/reproducible_netbsd.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/reproducible_netbsd.sh b/bin/reproducible_netbsd.sh index c0ced11e..e3b07b13 100755 --- a/bin/reproducible_netbsd.sh +++ b/bin/reproducible_netbsd.sh @@ -158,6 +158,14 @@ for i in * ; do let GOOD_FILES+=1 rm -f $BASE/netbsd/dbd/$i/$j.html # cleanup from previous (unreproducible) tests - if needed fi + # for debugging #842250 + if [ "$(basename $TMPDIR/b1/$i/$j)" = "base.tgz" ] ; then + for k in b1 b2 ; do + mkdir -p $BASE/netbsd/artifacts/$k/$i + cp $TMPDIR/$k/$i/$j $BASE/netbsd/artifacts/$k/$i/$j + done + echo "artifacts published for debugging #842250 in https://tests.reproducible-builds.org/netbsd/artifacts/ - please dont forget to delete this directory later…" + fi done cd .. if [ -s $GOOD_FILES_HTML ] ; then |