[llvm-commits] [zorg] r170352 - /zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py

David Dean david_dean at apple.com
Mon Dec 17 10:38:58 PST 2012


Author: ddean
Date: Mon Dec 17 12:38:58 2012
New Revision: 170352

URL: http://llvm.org/viewvc/llvm-project?rev=170352&view=rev
Log:
Add a default value for master_url if it isn't defined in local.cfg

Modified:
    zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py

Modified: zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py?rev=170352&r1=170351&r2=170352&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py (original)
+++ zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py Mon Dec 17 12:38:58 2012
@@ -184,7 +184,8 @@
     setProperty(f, 'got_revision', WithProperties('%(revision)s'))
     # this generates URLs we can use to link back to the builder which
     # triggered downstream builds
-    master_url = set_config_option('Master Options', 'master_url')
+    master_url = set_config_option('Master Options', 'master_url',
+                                   'http://localhost')
     this_str = '/'.join([master_url, 'builders', '%(buildername)s', 'builds',
                         '%(buildnumber)s'])
     setProperty(f, 'trigger', WithProperties(this_str))





More information about the llvm-commits mailing list