push.xml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Name: include/push.xml
  4. Purpose: Declarations for the push build slave
  5. Author: Mike Wetherell
  6. Copyright: (c) 2007 Mike Wetherell
  7. Licence: wxWindows licence
  8. -->
  9. <bot xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  10. xmlns:xi="http://www.w3.org/2001/XInclude">
  11. <xi:include href="defs.xml"/>
  12. <!--
  13. Usage: <show log="filename" [ name="title" ]/>
  14. A build step displayed as 'title' in the waterfall display, the output
  15. comes from 'filename.log' in the uploaded log tarball, and the exit code
  16. comes from 'filename.err'.
  17. If the name attibute is omitted, it defaults to the filename.
  18. -->
  19. <xsl:template name="show">
  20. <xsl:param name="content"/>
  21. <xsl:param name="log"/>
  22. <xsl:param name="name" select="$log"/>
  23. <shellcommand>
  24. <defaults content="{$content}">
  25. <name><xsl:value-of select="$name"/></name>
  26. <description><xsl:value-of select="$name"/></description>
  27. <descriptionDone><xsl:value-of select="$name"/></descriptionDone>
  28. <command><xsl:value-of select="$log"/></command>
  29. </defaults>
  30. <xsl:copy-of select="$content"/>
  31. </shellcommand>
  32. </xsl:template>
  33. </bot>