[147073] contrib/buildbot-test/master.cfg

raimue at macports.org raimue at macports.org
Fri Mar 25 09:40:31 PDT 2016


Revision: 147073
          https://trac.macports.org/changeset/147073
Author:   raimue at macports.org
Date:     2016-03-25 09:40:31 -0700 (Fri, 25 Mar 2016)
Log Message:
-----------
Show extracted port list in waterfall

Modified Paths:
--------------
    contrib/buildbot-test/master.cfg

Modified: contrib/buildbot-test/master.cfg
===================================================================
--- contrib/buildbot-test/master.cfg	2016-03-25 16:22:22 UTC (rev 147072)
+++ contrib/buildbot-test/master.cfg	2016-03-25 16:40:31 UTC (rev 147073)
@@ -228,7 +228,14 @@
 
         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
 if production:
@@ -325,7 +332,7 @@
 # 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(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160325/2880ee34/attachment-0001.html>


More information about the macports-changes mailing list