summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/app.py b/app.py
index f4022ea..a375c29 100644
--- a/app.py
+++ b/app.py
@@ -119,7 +119,7 @@ def index_results(LPUSER, PPA, PACKAGE, RELEASE, ARCH):
continue
runs[index] = info
- headers = ("version", "triggers", "date", "duration", "requester", "result", "url_prefix")
+ headers = ("version", "triggers", "date", "duration", "requester", "result", "url_prefix", "show_retry")
package_results = []
for idx, info in runs.items():
date = " ".join(idx.split("/")[-1].split("_")[0:2])
@@ -146,6 +146,7 @@ def index_results(LPUSER, PPA, PACKAGE, RELEASE, ARCH):
"requester": requester,
"result": human_exitcode(exitcode),
"url_prefix": f"{autopkgtest_url_base}/{idx}",
+ "show_retry": human_exitcode(exitcode) != "pass",
}
package_results.append([result[h] for h in headers])