Saturday, May 10, 2014

Azure Continuous Delivery Build Configuration

Setting up an Azure website with continuous git deliveries from Visual Studio Online was straightforward enough but it wasn't entirely clear to me how you specify which Build Configuration to use (e.g. Debug vs Release). It turns out to resolve this:

1. Open your site up in Azure Management Portal


2. Click on the Visual Studio link (bottom right of the above screenshot). Studio should then open up

3. Within Visual Studio's Team Explorer Tab, click on the Builds button


4. Within the Builds tab, you'll see the build definitions. Interestingly, behind the scenes Azure created a "{site}_CD" build definition


5. Right click on the _CD build definition and select "Edit Build Definition..."

6. On the property page that appears, select the "Process" tab


You can then edit the Configurations and select the Build Configuration you want