diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2020-04-16 14:40:23 +0200 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2020-04-17 19:48:14 +0000 |
commit | 460f082376c6cfe0f7edf24d009715229229d8f9 (patch) | |
tree | aedd175801cfc745e66fb6defeb380d211d456fa | |
parent | 0ed09a437a42fff0bd0de0582011e6a2a3a4fd40 (diff) | |
download | pkgsubmit-460f082376c6cfe0f7edf24d009715229229d8f9.tar pkgsubmit-460f082376c6cfe0f7edf24d009715229229d8f9.tar.gz pkgsubmit-460f082376c6cfe0f7edf24d009715229229d8f9.tar.bz2 pkgsubmit-460f082376c6cfe0f7edf24d009715229229d8f9.tar.xz pkgsubmit-460f082376c6cfe0f7edf24d009715229229d8f9.zip |
Display the failure stage when it's interesting to do so.
-rw-r--r-- | autobuild/results.php | 5 |
1 files changed, 5 insertions, 0 deletions
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]"; } |