Bug#906033: qa.debian.org: dmd is failing
Hi,
It happens when ci output is neutral, the attached patch solves this case.
Christophe
>From 04202e85ea91ae3a5e5edbf9593a286e4f5dbd4f Mon Sep 17 00:00:00 2001
From: Lucas Nussbaum <lucas@debian.org>
Date: Wed, 15 Aug 2018 09:17:37 +0000
Subject: [PATCH] do not fail on neutral ci status (closes: #906033)
---
web/inc/dmd-data.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/inc/dmd-data.rb b/web/inc/dmd-data.rb
index 20d2ae3..f46b0ab 100755
--- a/web/inc/dmd-data.rb
+++ b/web/inc/dmd-data.rb
@@ -429,7 +429,7 @@ EOF
else
poold = r['source'][0]
end
- if r['status'] == 'pass'
+ if r['status'] == 'pass' or r['status'] == 'neutral'
prio = '<span class="prio_ok_nobold">'
eprio = '</span>'
elsif r['status'] == 'fail'
--
2.11.0
Reply to: