-
Notifications
You must be signed in to change notification settings - Fork 26
Configuring Bitbucket Pull Requests Plugin
Joseph Lust edited this page Sep 16, 2016
·
6 revisions
Our TeamCity server always have the latest build available as an artifact. You can find it here
Please refer to TeamCity's guide on how to install an external plugin
There are two important things to configure :
Set your default branch, and in the Branch specification field, enter : +:refs/heads/*
. Unfortunately, only git is supported at the moment
In the Build Triggers section, click on the Add new trigger button. If the plugin is correctly installed, you should see a Bitbucket Pull Request item in the drop down.
- Server URL: URL of BitBucket server, e.g. https://bitbucket.org
- User Name: User that can log into above server e.g. bob@foo.com
- Password: Password for above user
- Owner: The string appearing in your BitBucket URL after the root, e.g. my_org for https://bitbucket.org/my_org/
- Repository: Name of the repository, as appears in it's BitBucket URL
- Base branch: Build PR's that target this branch, e.g. refs/heads/master
The user name used should have access to comment on pull requests in the repository, as the plugin will use those credentials to write if the build is successful or not.