Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,242
Community Members
 
Community Events
168
Community Groups

Want to create bitbucket webhook to trigger a TeamCity build whenever there is a new push in repo

Hello,

I want to create a bitbucket webhook to trigger a TeamCity build whenever there is a new push in bitbucket repository.

I am able to create the webhook and connect it with TeamCity build URL but I'm not able to find out how to trigger that particular build with bitbucket webhook.

Basically, I need to send a POST request to http://[teamcity-server]/httpAuth/app/rest/buildQueue with the "build configuration id" in custom data of the webhook.

But I'm not able to achieve it as I'm not able to find this option how to add custom data with the teamcity URL in the bitbucket webhook.

Have anyone already achieved or enable this or if anyone have some information that how we can achieve this then please help.

Many Thanks!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events