mirror of
https://github.com/macports/macports-infrastructure.git
synced 2026-07-12 18:18:46 -07:00
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:
+8
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user