From 460f082376c6cfe0f7edf24d009715229229d8f9 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 16 Apr 2020 14:40:23 +0200 Subject: Display the failure stage when it's interesting to do so. --- autobuild/results.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/autobuild/results.php b/autobuild/results.php index 21afcb8..afb21fd 100644 --- a/autobuild/results.php +++ b/autobuild/results.php @@ -274,6 +274,11 @@ foreach ($failure as $rpm => $error) { if (substr($attr, 0, 4) === "err_") { # TODO: create link into wiki with information about these errors $attr_link = $attr_link . " [Common Error: $attrname]"; + } else if (substr($attr, 0, 6) === "stage_") { + if ($attr != "stage_build" && $attr != "stage_nobuild") { + $lattr = strtolower($attrname); + $attr_link = $attr_link . " [%$lattr failure]"; + } } else { $attr_link = $attr_link . " [$attr]"; } -- cgit v1.2.1