Getting started
The DLM Automation TFS Build plugin lets you configure continuous integration for databases. Here’s an overview of how to get the plugin working so you can build a package with TFS. For more information, see Using the DLM Automation TFS Build plugin.
1. Requirements
Before you start configuring DLM Automation in TFS:
- you must be using Red Gate SQL Source Control and TFS to develop the database
- you must know where the database scripts folder is stored in TFS
2. Add a DLM Automation project file
MSBuild needs a project file to build a package. To generate this file:
- from the main menu, select
DLM Automation > Setup DLM Automation - from the dialog box, select the database scripts folder
3. Add steps (optional)
Add steps to the project file if you want to use the package to:
- run tSQLt tests
- synchronize to an existing database
- publish to a release management tool such as Octopus Deploy
4. Edit the build definition
To run the build on TFS, you need to:
- check the DLM Automation project into version control
- install DLM Automation on the machine running the TFS build agent
- create or update a TFS build definition to include the DLM Automation project. For more information, see Configure the TFS build definition
