Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-25 16:37:43 +0200
committerErich Eckner <git@eckner.net>2018-05-25 16:37:43 +0200
commit8581b39422d40cf8ad5fef54fc1940d07d32cbe9 (patch)
treed07d00f71236da0059b9cd1a9a1564bf19a16999
parentd7ea2a0ffb66973c257d4d2fc31d2ebf832a7a5b (diff)
buildmaster/build-slaves.php: show number of trials
-rw-r--r--buildmaster/build-slaves.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildmaster/build-slaves.php b/buildmaster/build-slaves.php
index e27d84f..651d661 100644
--- a/buildmaster/build-slaves.php
+++ b/buildmaster/build-slaves.php
@@ -12,6 +12,7 @@
"MAX(IF(`ssh_log`.`action`=\"get-assignment\",`ssh_log`.`date`,NULL)" .
") AS `bs`," .
"`build_slaves`.`logged_lines`," .
+ "`build_slaves`.`trials`," .
"`build_slaves`.`last_action`" .
" FROM `build_slaves`" .
" LEFT JOIN `ssh_log` ON" .
@@ -39,7 +40,7 @@ show_warning_on_offline_slave();
print "<table border=1>\n";
if ($result->num_rows > 0) {
- print "<tr><th>name</th><th>operator</th><th>currently building</th><th>last connection</th><th>building since</th><th>logged lines</th><th>last action</th></tr>\n";
+ print "<tr><th>name</th><th>operator</th><th>currently building</th><th>last connection</th><th>building since</th><th>trials</th><th>logged lines</th><th>last action</th></tr>\n";
while ($row = $result -> fetch_assoc()) {
foreach ($row as $key => $value) {
if ($value=="") {
@@ -52,6 +53,7 @@ show_warning_on_offline_slave();
print "<td>".$row["pkgbase"]."</td>";
print "<td>".$row["lc"]."</td>";
print "<td>".$row["bs"]."</td>";
+ print "<td>".$row["trials"]."</td>";
print "<td>".$row["logged_lines"]."</td>";
print "<td>".$row["last_action"]."</td>";
print "</tr>\n";