From 1d5976a5b74523cf05e5b6c1744b6af887383ea8 Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Fri, 11 Sep 2020 09:53:40 +0000 Subject: jenkins-helpers.sh: Split $EXPECTED_EXIT into $INTERNAL_FAIL ... and $EXTERNAL_FAIL. This allows us to distinguish between regressions that we should bisect and infra problems that we should skip bisects for. Change-Id: I8f3b82c86d95e27351b01a2b3d2467b8e15b309e --- tcwg-benchmark.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcwg-benchmark.sh') diff --git a/tcwg-benchmark.sh b/tcwg-benchmark.sh index 04d63d62..cc533d51 100755 --- a/tcwg-benchmark.sh +++ b/tcwg-benchmark.sh @@ -235,7 +235,7 @@ if ! ssh "$boardname" true; then nvidia-power-cycle.sh "${boardname%.tcwglab}" wait_for_ssh_server "$boardname" 22 100 ) & - wait $! || exit 125 + wait $! || exit $EXTERNAL_FAIL echo "Successfull powered-cycled $boardname" reboot=false fi -- cgit v1.2.3