diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2016-08-03 21:37:51 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-08-03 21:39:53 +0200 |
commit | fa3ed47dd9da01e3e37b20457946d7e06e11ccb4 (patch) | |
tree | 75b9e799a4bddede9604abff49d5cd6730b19fca /bin/reproducible_lede.sh | |
parent | 447c763759bbf21536e70f126657b97b96242ad1 (diff) | |
download | jenkins.debian.net-fa3ed47dd9da01e3e37b20457946d7e06e11ccb4.tar.xz |
reproducible/openwrt|lede: ensure tmpdirs are removed after failed runs
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_lede.sh')
-rwxr-xr-x | bin/reproducible_lede.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/reproducible_lede.sh b/bin/reproducible_lede.sh index 57b8d2bd..97671514 100755 --- a/bin/reproducible_lede.sh +++ b/bin/reproducible_lede.sh @@ -26,7 +26,7 @@ case $1 in case $1 in openwrt_build |\ openwrt_get_banner |\ - openwrt_cleanup_tmpdirs) ;; # this is the allowed list + node_cleanup_tmpdirs) ;; # this is the allowed list *) echo "Unsupported remote node function $@" exit 1 @@ -52,7 +52,7 @@ 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) -trap cleanup_tmpdirs INT TERM EXIT +trap master_cleanup_tmpdirs INT TERM EXIT cd $TMPBUILDDIR @@ -250,5 +250,5 @@ irc_message reproducible-builds "$REPRODUCIBLE_URL/lede/ has been updated. ($GOO echo "=============================================================================" # remove everything, we don't need it anymore... -cleanup_tmpdirs +master_cleanup_tmpdirs trap - INT TERM EXIT |