diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2016-07-30 21:53:50 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-08-02 16:24:19 +0200 |
commit | 8b2041c98b2a9baab95174dc4b34711e8817d2c7 (patch) | |
tree | 76b9d0b066526a1274759322b666605de174ef68 /bin/reproducible_openwrt_common.sh | |
parent | 35b8965f04802f60f1873f3f606b0efeaf16a837 (diff) | |
download | jenkins.debian.net-8b2041c98b2a9baab95174dc4b34711e8817d2c7.tar.xz |
Revert "reproducible/openwrt|lede: fixup node_wrapper usage"
This reverts commit 8d586d5c9968778c934996aa59626635fc20b99f.
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_openwrt_common.sh')
-rw-r--r-- | bin/reproducible_openwrt_common.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh index 32a814eb..b3f4e314 100644 --- a/bin/reproducible_openwrt_common.sh +++ b/bin/reproducible_openwrt_common.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2014-2016 Holger Levsen <holger@layer-acht.org> +# Copyright 2014-2015 Holger Levsen <holger@layer-acht.org> # © 2015 Reiner Herrmann <reiner@reiner-h.de> # 2016 Alexander Couzens <lynxis@fe80.eu> # released under the GPLv=2 @@ -258,20 +258,21 @@ build_two_times() { TMPDIR_B1=$(ssh $HOST_B1 mktemp --tmpdir=/srv/workspace/chroots/ -d -t rbuild-lede-build-XXXXXXXX) # TODO check tmpdir exist - ssh $HOST_B1 $0 openwrt_build $TYPE $RUN $TARGET $CONFIG $TMPDIR_B1 + SCRIPT="$0 slave" + ssh $HOST_B1 $SCRIPT openwrt_build $TYPE $RUN $TARGET $CONFIG $TMPDIR_B1 # rsync back # copy logs and images rsync -a $HOST_B1:$TMPDIR_B1/$RUN/ $TMPDIR/$RUN/ - ssh $HOST_B1 $0 openwrt_get_banner $TMPDIR_B1 $TYPE > $BANNER_HTML - ssh $HOST_B1 $0 openwrt_cleanup_tmpdirs $TMPDIR_B1 + ssh $HOST_B1 $SCRIPT openwrt_get_banner $TMPDIR_B1 $TYPE > $BANNER_HTML + ssh $HOST_B1 $SCRIPT openwrt_cleanup_tmpdirs $TMPDIR_B1 ## HOST_B2 RUN=b2 TMPDIR_B2=$(ssh $HOST_A mktemp --tmpdir=/srv/workspace/chroots/ -d -t rbuild-lede-build-XXXXXXXX) - ssh $HOST_B2 $0 openwrt_build $TYPE $RUN $TARGET $CONFIG $TMPDIR_B2 + ssh $HOST_B2 $SCRIPT openwrt_build $TYPE $RUN $TARGET $CONFIG $TMPDIR_B2 rsync -a $HOST_B2:$TMPDIR_B2/$RUN/ $TMPDIR/$RUN/ - ssh $HOST_B2 $0 openwrt_cleanup_tmpdirs $TMPDIR_B2 + ssh $HOST_B2 $SCRIPT openwrt_cleanup_tmpdirs $TMPDIR_B2 } |