Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Rahul Kapoor August 7, 2022

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
AUG Leaders

Atlassian Community Events