Show extracted port list in waterfall

git-svn-id: https://svn.macports.org/repository/macports/contrib/buildbot-test@147073 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Rainer Müller
2016-03-25 16:40:31 +00:00
parent 9cc8eb3688
commit dc287f2a87
+8 -1
View File
@@ -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(