Setting up continuous integration

If Azure’s code editor does not meet your development needs, you can set up continuous integration using your favorite IDE. Follow these easy steps to get started.

  1. Create an empty repository in your favorite source control system
  2. Download the bot code
  3. Choose the deployment source and connect your repository

If, after setting up continuous integration, you need to disconnect your deployment source from your bot, see Disconnecting your deployment source.

Note: When you setup continuous integration, the Azure's bot editor will be disabled. To re-enable it, you will need to disconnect your deployment source (see Disconnecting your deployment source).
Note: This document highlights the specific continuous integration features of Azure Bot Service. To get information about continuous integration as it relates to Azure App Services, see Continuous Deployment to Azure App Service.

Create an empty repository in your favorite source control system

The first step is to create an empty repository. At the time of this writing, Azure supports the following source control systems:

Source control system

Azure deployment sources

Download the bot code

  1. Download the bot code zip file from the Settings tab of your Azure bot.

    Download the bot zip file

    Downloading your bot code
  2. Unzip the bot code file to the local folder where you are planning to sync your deployment source.

Choose the deployment source and connect your repository

  1. Click the Settings tab within your Azure bot, and expand the Continuous integration section.
  2. Click Set up integration source.

    Setup integration source

    Accessing the continuous deployment Azure blade
  3. Click Setup, select your deployment source, and follow the steps to connect it. Make sure you select the repository type that you created in step 1.

    Setup integration source

    Select your favorite deployment source

Disconnecting your deployment source

If for any reason you need to disconnect your deployment source from your bot, simply open the Settings tab, expand the Continuous integration section, click Set up integration source, and finally click Disconnect in the resulting blade.

Disconnect your deployment source

Disconnecting your deployment source

Next steps