Change the locks to allow builds for different branches to run concurrently

on Laurent's slave.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell 2008-09-27 20:31:58 +00:00
parent 95b4a59e67
commit 988729f50a
2 changed files with 16 additions and 3 deletions

View File

@ -60,13 +60,21 @@
<nightly-schedulers name="daily"/>
<!--
General purpose slave lock.
A general purpose slave lock and ones for the trunk and stable branches.
-->
<slavelock>
<name>slave</name>
</slavelock>
<slavelock>
<name>trunk</name>
</slavelock>
<slavelock>
<name><STABLE_BRANCH/></name>
</slavelock>
<!--
Map SVN user ids to email addresses.
-->

View File

@ -16,12 +16,17 @@
<!--
build - Override <build> to add a slave lock. This has the effect of
serialising all the builds on this machine
serialising builds for the same branch on this machine.
-->
<xsl:template name="build">
<xsl:param name="content"/>
<xsl:variable name="checkout">
<xsl:apply-templates select="get:step('checkout')"/>
</xsl:variable>
<build>
<lock>slave</lock>
<lock>
<xsl:value-of select="exsl:node-set($checkout)/svn/defaultBranch"/>
</lock>
<xsl:copy-of select="$content"/>
</build>
</xsl:template>