summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_lede.sh
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-06-28 00:20:14 +0200
committerHolger Levsen <holger@layer-acht.org>2017-06-28 00:41:50 +0200
commit1542df26bd0d4ac34df04528bb6cb4eda8388002 (patch)
treea595141130ecad6990d6867fcd43bcc6a9a141c3 /bin/reproducible_lede.sh
parent3c9e0ca2918e3a0e94eab71ec1ba4a9c19a41bb6 (diff)
downloadjenkins.debian.net-1542df26bd0d4ac34df04528bb6cb4eda8388002.tar.xz
reproducible LEDE: move `git log -1 > .html` to node_document_environment
Removes also the garbage in the git commit section Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_lede.sh')
-rwxr-xr-xbin/reproducible_lede.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/reproducible_lede.sh b/bin/reproducible_lede.sh
index 95a2ae05..16254bdf 100755
--- a/bin/reproducible_lede.sh
+++ b/bin/reproducible_lede.sh
@@ -31,7 +31,6 @@ case $1 in
openwrt_build |\
openwrt_download |\
openwrt_get_banner |\
- openwrt_get_commit |\
node_create_tmpdirs |\
node_debug |\
node_save_logs |\
@@ -64,7 +63,6 @@ START=$(date +'%s')
TMPBUILDDIR=$(mktemp --tmpdir=/srv/workspace/chroots/ -d -t rbuild-lede-build-${DATE}-XXXXXXXX) # used to build on tmpfs
TMPDIR=$(mktemp --tmpdir=/srv/reproducible-results -d -t rbuild-lede-results-XXXXXXXX) # accessable in schroots, used to compare results
BANNER_HTML=$(mktemp --tmpdir=$TMPDIR)
-GIT_COMMIT=$(mktemp --tmpdir=$TMPDIR)
trap master_cleanup_tmpdirs INT TERM EXIT
cd $TMPBUILDDIR
@@ -238,14 +236,11 @@ write_page " <p>$GOOD_IMAGES ($GOOD_PERCENT_IMAGES%) out of $ALL_IMAGES bu
write_page " These tests were last run on $DATE for version ${OPENWRT_VERSION} using ${DIFFOSCOPE}.</p>"
write_variation_table LEDE
cat $DBD_HTML >> $PAGE
-write_page " <table><tr><th>git commit built</th></tr><tr><td><code>"
-cat $GIT_COMMIT >> $PAGE
-write_page " </code></td></tr></table>"
cat $TOOLCHAIN_HTML >> $PAGE
write_page " </div>"
write_page_footer LEDE
publish_page
-rm -f $DBD_HTML $DBD_GOOD_PKGS_HTML $DBD_BAD_PKGS_HTML $TOOLCHAIN_HTML $BANNER_HTML $GIT_COMMIT
+rm -f $DBD_HTML $DBD_GOOD_PKGS_HTML $DBD_BAD_PKGS_HTML $TOOLCHAIN_HTML $BANNER_HTML
# the end
calculate_build_duration