You can set up webhooks so that Bitrise automatically triggers a build of your app whenever you perform a specified action, such as a code push or a pull request. For Visual Studio, all you have to do is register your
bitrise-webhooks URL for
a visualstudio.com project as a
Service Hooks integration.
You can find an official guide on visualstudio.com ‘s documentations site.
Get the webhook URL for Visual Studio ⚓
Go to the
Codetab of your app’s page and in the
INCOMING WEBHOOKSmenu, click
Visual Studio Online / Visual Studio Team Servicesfrom the dropdown menu.
Copy the webhook URL for the selected service.
Set up webhook on Visual Studio ⚓
- Open your project on visualstudio.com.
- Go to the Admin/Control panel of the project.
Create a service integration:
In the Service list select the
Code pushedevent as the Trigger.
- In the
Filterssection select the
Repositoryyou want to integrate.
- You can leave the other filters on default.
Actionsetup form enter the
.../h/visualstudio/BITRISE-APP-SLUG/BITRISE-APP-API-TOKEN) in the
URLfield. You can leave every other option on default.
That’s all! The next time you push code or push a new tag a build will be triggered (if you have Trigger mapping defined for the event(s) on Bitrise).