summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-10 12:34:32 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-10 12:34:32 +0200
commit3d2a19e6c471d96cc5d2d5406c1ddd45301eb1d0 (patch)
tree6ee113252f95d915a223d77b0d344f60b221976d
parentdace30d88583e7e45deaa7116de8bf608db0ef59 (diff)
downloadjenkins.debian.net-3d2a19e6c471d96cc5d2d5406c1ddd45301eb1d0.tar.xz
reproducible: make first build.log visible again
-rw-r--r--TODO1
-rwxr-xr-xbin/reproducible_build.sh3
2 files changed, 3 insertions, 1 deletions
diff --git a/TODO b/TODO
index 1c0ad1cb..760184df 100644
--- a/TODO
+++ b/TODO
@@ -173,7 +173,6 @@ properties:
** reproducible_build.sh changes needed:
*** fix: "DIFFOSCOPE='E: Failed to change to directory ‘/tmp’: Permission denied" - maybe by making sure the cause is gone…
*** handle_unhandled() needs to unregister the build from the db too
-*** rbuild.log isnt show when a package ftbfs
*** diffoscope needs to be run on the target arch...
**** should probably be doable with qemu-static on the host
*** once all non remote build jobs are removed, remove the legacy code from _build.sh
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index fdbfbf41..3dba3aa8 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -542,6 +542,9 @@ remote_build() {
ls -R $TMPDIR
ssh -p $PORT $NODE "rm -r $TMPDIR"
set -e
+ if [ $BUILDNR -eq 1 ] ; then
+ cat $TMPDIR/b1/build.log >> ${RBUILDLOG}
+ fi
}
check_buildinfo() {