It depends on your TeamCity setup. Do you have it installed behind a firewall (can it be accessed publicly)?
The short answer is to set up webhooks. If your install is not publicly accessible, then you'll have to jump through some more hoops. Let me know and I can help either way.
It looks like I was slightly wrong. You'll need to set up polling to make this work (please make sure to set the poll interval to no less than 5 minutes).
These should get you going:
If you'd rather have builds triggered, you'll need something in between Bitbucket and TeamCity to receive the webhook and make the appropriate TeamCity API request (this could be done with an AWS Lambda).
Here's the info for that direction:
Lastly, you can jump in to this HipChat room if you want some more "real-time support":
Hi @Eric Henry . Can you please help on a issue.
Requirement : we want to build a job on Jenkins , On Pull request raised for a Multibranch Pipeline .
If there is a DSL code is there that will be better or plugin also helpful.
What are the requirements and how to configure please guide me .
I'd like also to trigger TC builds from a pull request issued in BitBucket Cloud. The build that needs to run is a post merge.
I think that the answer doesn't lie with with BB WebHooks as our TC server is private. Possibly, it's some configuration of a VCS Trigger in TC - but I'm stumped in how to do this.
Any links or advice please?
Just found this link which I'm going to investigate since we already are using BB pipelines:
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events