2008-03-11 14:20:02 -04:00
|
|
|
<?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"/>
|
|
|
|
|
|
|
|
<!--
|
2008-04-15 08:16:40 -04:00
|
|
|
Usage: <show log="filename" [ name="title" ]/>
|
2008-03-11 14:20:02 -04:00
|
|
|
|
|
|
|
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>
|