From 48a84a2ca7bf680fde1975fe87262d3fea6b1da3 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 17 Apr 2019 14:00:22 +0200 Subject: bin/build-packages: tell the build master that we aborted the build due to not getting the prefered package when -s :without_systemd-nspawn: was active --- bin/build-packages | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/build-packages b/bin/build-packages index 70db571..d2c3f3a 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -478,6 +478,12 @@ while [ "${count}" -ne 0 ] && \ if [ "${prefered_package}" != "${package}" ]; then >&2 echo 'The prefered package was not handed out.' >&2 echo 'Because straw :without_systemd_nspawn: is active, I will abort.' + # shellcheck disable=SC2029 + ssh \ + -i "${master_build_server_identity}" \ + -p "${master_build_server_port}" \ + "${master_build_server_user}@${master_build_server}" \ + 'return-assignment' 'ABORT' exit 2 fi # we're not interested in what this cpu /can/ do, but what -- cgit v1.2.3-70-g09d2