diff options
author | Erich Eckner <git@eckner.net> | 2018-01-19 20:40:15 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-19 20:40:15 +0100 |
commit | cd60721bc7538fe28b1948f41bbe648ba8ba5e0e (patch) | |
tree | efbffba68a3e4410e200b95ce8f6bec90060eb0d /bin/build-master-status-from-mysql | |
parent | c5b511e13df7a2c325cdc3f83eded38b3c15aa73 (diff) | |
download | builder-cd60721bc7538fe28b1948f41bbe648ba8ba5e0e.tar.xz |
bin/build-master-status-from-mysql: order build slaves by last_connection
Diffstat (limited to 'bin/build-master-status-from-mysql')
-rwxr-xr-x | bin/build-master-status-from-mysql | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/build-master-status-from-mysql b/bin/build-master-status-from-mysql index a416538..27afd27 100755 --- a/bin/build-master-status-from-mysql +++ b/bin/build-master-status-from-mysql @@ -15,6 +15,7 @@ ${mysql_command} -e ' `build_slaves`.`currently_building`=`build_assignments`.`id` LEFT JOIN `package_sources` ON `build_assignments`.`package_source`=`package_sources`.`id` + ORDER BY `build_slaves`.`last_connection` ' --html | \ sed ' s,</TR>,\0\n,g |