From ce89fe5cfb3505be5567b069cfa2688c259f2420 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 18 Dec 2017 13:16:37 +0100 Subject: [PATCH] =?utf8?q?Task-Server:=20nach=20Task-Ausf=C3=BChrung=20Sta?= =?utf8?q?tus=20&=20Jobname=20als=20Debuginfo=20ausgeben?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- scripts/task_server.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/task_server.pl b/scripts/task_server.pl index cfdd8668b..07cc53e89 100755 --- a/scripts/task_server.pl +++ b/scripts/task_server.pl @@ -246,6 +246,10 @@ sub run_once_for_all_clients { my $history = $job->run; + debug(" Executed job " . $job->package_name . + "; result: " . (!$history ? "no return value" : $history->has_failed ? "failed" : "succeeded") . + ($history && $history->has_failed ? "; error: " . $history->error_col : "")); + notify_on_failure(history => $history) if $history && $history->has_failed; } -- 2.20.1