| 46 | == Local Builds == |
| 47 | |
| 48 | |
| 49 | Note that the url represents the location of the bitten recipe. If it is a local file, the slave will run the build locally (without any need for a bitten master). This can be useful as a pre-commit check on a development machine, for testing a changed recipe, or just for trying out bitten-slave quickly. So calling {{{bitten-slave recipe.xml}}} with the following trivial recipe.xml |
| 50 | |
| 51 | {{{ |
| 52 | <build description="Building System" |
| 53 | xmlns:sh="http://bitten.cmlenz.net/tools/sh"> |
| 54 | <step id="The first step"> |
| 55 | <sh:exec file="echo" args="Minimal example"/> |
| 56 | </step> |
| 57 | </build> |
| 58 | }}} |
| 59 | |
| 60 | will produce this output: |
| 61 | |
| 62 | {{{ |
| 63 | [INFO ] Executing build step 'The first step' |
| 64 | [INFO ] Minimal example |
| 65 | [INFO ] Build step The first step completed successfully |
| 66 | [INFO ] Build completed |
| 67 | }}} |