Add configuration for push builds.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell 2008-03-11 18:20:02 +00:00
parent a7f2f62876
commit b0de11edfb
2 changed files with 79 additions and 0 deletions

View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Name: include/push.xml
Purpose: Declarations for the push build slave
Author: Mike Wetherell
RCS-ID: $Id$
Copyright: (c) 2007 Mike Wetherell
Licence: wxWidgets licence
-->
<bot xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="defs.xml"/>
<!--
Usage: <show log="filename" [ name="title" ]/>
A build step displayed as 'title' in the waterfall display, the output
comes from 'filename.log' in the uploaded log tarball, and the exit code
comes from 'filename.err'.
If the name attibute is omitted, it defaults to the filename.
-->
<xsl:template name="show">
<xsl:param name="content"/>
<xsl:param name="log"/>
<xsl:param name="name" select="$log"/>
<shellcommand>
<defaults content="{$content}">
<name><xsl:value-of select="$name"/></name>
<description><xsl:value-of select="$name"/></description>
<descriptionDone><xsl:value-of select="$name"/></descriptionDone>
<command><xsl:value-of select="$log"/></command>
</defaults>
<xsl:copy-of select="$content"/>
</shellcommand>
</xsl:template>
</bot>

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Name: push.xml
Purpose: Configuration for push builds
Author: Mike Wetherell
RCS-ID: $Id$
Copyright: (c) 2007 Mike Wetherell
Licence: wxWidgets licence
This allows the logs from builds done elsewhere to be included in the
buildbot results, see:
http://www.wxwidgets.org/wiki/index.php/Development:_Buildbot#Sending_in_Logs_from_Builds_Done_Elsewhere
-->
<bot xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="include/push.xml"/>
<!-- e.g.:
<build>
<name>wxOS2 Stable gcc</name>
<builddir>psh_os2_stable</builddir>
<steps>
<extractlogs/>
<show log="compiler"/>
<show log="update"/>
<show log="configure"/>
<show log="compile"/>
<show log="demos"/>
<show log="samples"/>
</steps>
</build>
-->
</bot>