summaryrefslogtreecommitdiff
path: root/distbuild/initiator.py
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-09-18 10:47:38 +0000
committerBaserock Gerrit <gerrit@baserock.org>2015-10-07 00:06:09 +0000
commit3c59628c80ffe47992bf7347268ca587fc6d368d (patch)
treefba278b5fb0eff894f6b1f60514dfee6c6377ded /distbuild/initiator.py
parent50dd4970f61db4ba203f1aea067ab20ef944fe73 (diff)
downloadmorph-3c59628c80ffe47992bf7347268ca587fc6d368d.tar.gz
distbuild: When a build finishes, say which worker it was built on
Change-Id: I493fced8cf2664283923f6f41097ca991d3fc3de
Diffstat (limited to 'distbuild/initiator.py')
-rw-r--r--distbuild/initiator.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/distbuild/initiator.py b/distbuild/initiator.py
index 84a1f27f..f2cb77e9 100644
--- a/distbuild/initiator.py
+++ b/distbuild/initiator.py
@@ -239,6 +239,10 @@ class Initiator(distbuild.StateMachine):
step_name = msg['step_name']
if step_name in self._step_outputs:
status = 'Finished building %s' % step_name
+
+ if 'worker_name' in msg:
+ status += ' on %s' % msg['worker_name']
+
self._app.status(msg=status)
self._write_status_to_build_log(self._get_output(msg), status)