[zorg] r244824 - [zorg] for lldb android builders, pass 'totBuild' to acquire/release lock script

Ying Chen via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 12 15:44:24 PDT 2015


Author: chying
Date: Wed Aug 12 17:44:23 2015
New Revision: 244824

URL: http://llvm.org/viewvc/llvm-project?rev=244824&view=rev
Log:
[zorg] for lldb android builders, pass 'totBuild' to acquire/release lock script

- when a build is started by clicking force build button on webpage, it won't have the correct scheduler name
- use the descriptive string to identify owner of current lock

Modified:
    zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py

Modified: zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py?rev=244824&r1=244823&r2=244824&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py Wed Aug 12 17:44:23 2015
@@ -926,7 +926,7 @@ def getLLDBScriptCommandsFactory(
     if downloadBinary:
         getShellCommandStep(f, name='acquire lock',
                             command=['acquireLock' + scriptExt,
-                                     WithProperties('%(scheduler:-none)s')],
+                                     'totBuild'],
                             description='get')
 
     # Checkout source code
@@ -978,7 +978,7 @@ def getLLDBScriptCommandsFactory(
     if downloadBinary:
         getShellCommandStep(f, name='release lock',
                             command=['releaseLock' + scriptExt,
-                                     WithProperties('%(scheduler:-none)s')],
+                                     'totBuild'],
                             description='release',
                             alwaysRun=True)
     return f




More information about the llvm-commits mailing list