Record Bitten environment

28 October 2009
12:06

By osimons as XML

Sample build step that just records environment information for the build - for reference.

1 <build xmlns:python="http://bitten.cmlenz.net/tools/python"
2 xmlns:sh="http://bitten.cmlenz.net/tools/sh">
3
4 <step id="environment" title="Record environment information">
5 <sh:exec executable="python"
6 args="-c 'import platform; print &quot;Python:&quot;, platform.python_version()'" />
7 <sh:exec executable="python"
8 args="-c 'import trac; print &quot;Trac:&quot;, trac.__version__'" />
9 </step>
10
11 </build>

Download Raw Source

Comments

  1. osimons says:

    28 October 2009
    12:09

    Remember to use onerror="ignore" on the step....