From 8581b39422d40cf8ad5fef54fc1940d07d32cbe9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 25 May 2018 16:37:43 +0200 Subject: buildmaster/build-slaves.php: show number of trials --- buildmaster/build-slaves.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'buildmaster/build-slaves.php') 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 "\n"; if ($result->num_rows > 0) { - print "\n"; + print "\n"; while ($row = $result -> fetch_assoc()) { foreach ($row as $key => $value) { if ($value=="") { @@ -52,6 +53,7 @@ show_warning_on_offline_slave(); print ""; print ""; print ""; + print ""; print ""; print ""; print "\n"; -- cgit v1.2.3-70-g09d2
nameoperatorcurrently buildinglast connectionbuilding sincelogged lineslast action
nameoperatorcurrently buildinglast connectionbuilding sincetrialslogged lineslast action
".$row["pkgbase"]."".$row["lc"]."".$row["bs"]."".$row["trials"]."".$row["logged_lines"]."".$row["last_action"]."