diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2017-11-05 21:39:57 +0100 |
---|---|---|
committer | Mattia Rizzolo <mattia@debian.org> | 2017-11-05 21:41:31 +0100 |
commit | 72a8a5038d4228b0f923b3dc8b82314e44111a52 (patch) | |
tree | 1e646e8eab168d5cb3e228a3da4dedb8c70f7f2d | |
parent | 2158a1ae5d8f7a4040dd4df0ee35fb98aca1689f (diff) | |
download | jenkins.debian.net-72a8a5038d4228b0f923b3dc8b82314e44111a52.tar.xz |
reproducible_lede: correct given path for node_cleanup_tmpdirs & node_save_logs
When moving LEDE build directory to /srv/workspace/chroots those
has been mistyped to RESULTSDIR instead of TMPBUILDDIR.
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
-rw-r--r-- | bin/reproducible_lede_common.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_lede_common.sh b/bin/reproducible_lede_common.sh index bb9bf773..55ef15e3 100644 --- a/bin/reproducible_lede_common.sh +++ b/bin/reproducible_lede_common.sh @@ -44,16 +44,16 @@ master_cleanup_tmpdirs() { # in a success build the logs are saved on a different function if [ "$1" != "success" ] ; then # job failed - ssh $GENERIC_NODE1 reproducible_$TYPE node node_save_logs $RESULTSDIR || true - ssh $GENERIC_NODE2 reproducible_$TYPE node node_save_logs $RESULTSDIR || true + ssh $GENERIC_NODE1 reproducible_$TYPE node node_save_logs $TMPBUILDDIR || true + ssh $GENERIC_NODE2 reproducible_$TYPE node node_save_logs $TMPBUILDDIR || true # save failure logs mkdir -p $WORKSPACE/results/ rsync -av $GENERIC_NODE1:$RESULTSDIR/build_logs.tar.xz $WORKSPACE/results/build_logs_b1.tar.xz || true rsync -av $GENERIC_NODE2:$RESULTSDIR/build_logs.tar.xz $WORKSPACE/results/build_logs_b2.tar.xz || true fi - ssh $GENERIC_NODE1 reproducible_$TYPE node node_cleanup_tmpdirs $RESULTSDIR || true - ssh $GENERIC_NODE2 reproducible_$TYPE node node_cleanup_tmpdirs $RESULTSDIR || true + ssh $GENERIC_NODE1 reproducible_$TYPE node node_cleanup_tmpdirs $TMPBUILDDIR || true + ssh $GENERIC_NODE2 reproducible_$TYPE node node_cleanup_tmpdirs $TMPBUILDDIR || true cd # (very simple) check we are deleting the right stuff |