70 likes | 205 Views
Jeffrey Palermo Software Management Consultant & Coach. Automated build with nant. What does a build do?. Compiles Links Versions Packages Runs all tests Succeeds or fails, no gray area. Why automate?. Avoid manual steps Performs steps the same every time Save human time
E N D
Jeffrey Palermo Software Management Consultant & Coach Automated build with nant
What does a build do? • Compiles • Links • Versions • Packages • Runs all tests • Succeeds or fails, no gray area.
Why automate? • Avoid manual steps • Performs steps the same every time • Save human time • Increase rate of feedback
Prerequisites • Structured source control • Trunk • Tags • Branches • Access to all key dependencies within trunk working copy
Build goal From a checkout of the trunk, run a single command and output a verified, versioned, packaged, and deployable software application.
Key Steps • Increment version number • Create database that will be used in build testing • Compile and link all code files into .Net assemblies • Execute all primary tests to verify compiled software • Aggregate all files necessary for a deployment and package in organized .zip file • Commit deployable .zip to Subversion • Tag build with version number