Edgewall Software

Changes between Version 1 and Version 2 of Bitten Run Slave Locally


Ignore:
Timestamp:
Jun 20, 2008, 4:46:43 AM (16 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Bitten Run Slave Locally

    v1 v2  
     1== Running the Bitten Slave Locally ==
    12
    2 
    3 == Running the Bitten Slave Locally ==
     3Running the build recipe locally is a useful pre-commit validation of changes on a development machine.  In that case it is important not to delete the files of the working copy, and to build in a specific directory, so that the recipe can be run without doing a full checkout. The command becomes
     4{{{
     5bitten-slave -k -d PATH --build-dir PATH recipe.xml
     6}}}
    47
    58
     
    1013      xmlns:sh="http://bitten.cmlenz.net/tools/sh">
    1114 <step id="The first step">
    12    <sh:exec file="echo" args="Minimal example"/>
     15   <sh:exec file="echo" args="Hello World"/>
    1316 </step>
    1417</build>
     
    1922{{{
    2023[INFO    ] Executing build step 'The first step'
    21 [INFO    ] Minimal example
     24[INFO    ] Hello World
    2225[INFO    ] Build step The first step completed successfully
    2326[INFO    ] Build completed
    2427}}}
    2528
    26 Bitten recipes generally specify a list of steps that are required to succeed for a build to be valid. They will often include a list of tests to be ran on the code. Running all the steps can be useful as a pre-commit validation of changes on a development machine, in which case it is important not to delete the files of the working copy, and to build in a specific directory. The command becomes {{{bitten-slave -k -d PATH --build-dir PATH recipe.xml}}}.