Bamboo with Visual Studio Team Services

Last Update: 4/28/2017

If you use Bamboo to build your apps, you can store your code in Visual Studio Team Services and continue to use Bamboo for your continuous integration builds. You can trigger a Bamboo build when you push code to your team project's Git repository, when you check code in to Team Foundation version control, or when a Visual Studio Team Services build finishes.

Configure Bamboo

  1. If you haven't already, set up a Bamboo server.

  2. If you use Bamboo on-premises, enable HTTPS on your Bamboo server.

  3. If your team project uses Team Foundation version control and not Git, install the TFS respository add-on for Bamboo.

Enable Visual Studio Team Services basic authentication

  1. If you haven't already, enable alternate credentials in your Visual Studio Team Services profile. Be sure to set a secondary user name because you won't be able to use your email address to connect Visual Studio Team Services to Bamboo.

    Profile, credentials tab, alternative credentials enabled wiht a secondary user name

Set up a Bamboo build plan

  1. In Bamboo, create a new plan by choosing Create > Create a new plan from the menu bar.

  2. Under Link repository to new build plan, choose Other > Git and set the URL for your Git repository in Visual Studio Team Services. The URL is in the form https://{Team Services account}{team project name}.

  3. Next to Authentication Type, choose Username/password and enter the alternate credentials of a Visual Studio Team Services account with read access to the repository.

    Repository settings with Git selected

Trigger Bamboo from Visual Studio Team Services

  1. Go to your team project's administration page.

    Team project administraton icon

  2. On the Service Hooks tab, create a subscription.

    Service hooks page, add icon

  3. Add Bamboo.

    Select target service dialog box, Bamboo selected

  4. Pick the event from Visual Studio Team Services that you want to trigger a build in Bamboo.

    Configure event dialog box

  5. Configure the action you want Bamboo to take.

    New service hook subscription dialog box

Now, when that event occurs in Visual Studio Team Services, your Bamboo build will be triggered.


Visual Studio Team Services doesn't charge for the framework for integrating with external services. Check out the specific service's site for pricing related to their services.

Q & A

Q: Can I build part of my app in Visual Studio Team Services and part in Bamboo?

A: Yes. You can trigger a Bamboo build when your Visual Studio Team Services build is completed so that you use both systems to build your app.

Q: Can I programmatically create subscriptions?

A: Yes, use REST APIs.