Search
Project Description
CI Build Tasks are a specialized set of msbuild tasks that encapsulate a few of our practices with continuous integration (CI) at Dotway. Currently there is only one practice included in the project but more can be added once time allows and as practices are identified as a recurring patterns.

Database Tasks
The database build tasks are a group of MsBuild task that handle database code or scripts. Using a defined folder layout for your database script files these tasks can create a database, install tables and views, constraints, testdata etc. There are also tasks for doing a clean, insert testdata and do updates.

This is an example usage where a database is installed, for example after a successfull build of the source:
    <InstallDatabase
      ConnectionString="Database=DatabaseBuildTask;Server=localhost;Trusted_Connection=true"
      BaseDirectory="DatabaseScripts"
      ProviderName="System.Data.SqlClient"
      CreateDatabase="true"
      IncludeTestData="true" />

Install/Use
Unzip the files into the directory of your choice. Import the CIBuildTasks target into your msbuild file with the following statement:

<PropertyGroup>
    <CIBuildTasksPath>path\to\CIBuildTasks\</CIBuildTasksPath>
</PropertyGroup>

<Import Project="path\to\CIBuildTasks\Dotway.BuildTasks.targets"/>


Currently, only System.Data.SqlClient is supported, however, is should be fairly easy to implement any other provider if you need it.

Check out the task list for a list of all tasks and their documentation.
Last edited Dec 19 2008 at 2:17 PM by baluubas, version 8
Updating...
© 2006-2012 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2012.1.11.18365