From dc287f2a8787dd9caefbdbb77d2a81345d219ddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rainer=20M=C3=BCller?= Date: Fri, 25 Mar 2016 16:40:31 +0000 Subject: [PATCH] Show extracted port list in waterfall git-svn-id: https://svn.macports.org/repository/macports/contrib/buildbot-test@147073 d073be05-634f-4543-b044-5fe20cf6d1d6 --- buildbot/master.cfg | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/buildbot/master.cfg b/buildbot/master.cfg index 6f602c5..ae50d35 100644 --- a/buildbot/master.cfg +++ b/buildbot/master.cfg @@ -228,6 +228,13 @@ class SetPropertyFromCommandWithPortlist(SetPropertyFromCommand): self.setProperty('fullportlist', ' '.join(portset)) + def getText(self, cmd, results): + if self.hasProperty('subportlist'): + return ["Port list: %s" % (self.getProperty('subportlist'))] + else: + # let ShellCommand describe + return ShellCommand.getText(self, cmd, results) + # can't run with prefix inside the workdir in production, # because archives must be built with prefix=/opt/local @@ -325,7 +332,7 @@ portbuilder_factory = BuildFactory() # XXX: use InfoStep instead of running a dummy command portbuilder_factory.addStep(ShellCommand( command=["/usr/bin/true"], - description=[WithProperties("Port %(portname)s")])) + description=[WithProperties("Port: %(portname)s")])) #portbuilder_factory.addStep(InfoStep(title=WithProperties("Port %(portname)s"))) portbuilder_factory.addStep(SVN(