Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

Commit

Permalink
Documenting TeamCity
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Feb 8, 2017
1 parent fab4eb8 commit 1f554c7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Changelog of Pull Request Notifier for Bitbucket.
### GitHub [#193](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/issues/193) Enable project level admins to configure on project level
Enable project level admins to configure on project level

[64f670125111045](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/commit/64f670125111045) Tomas Bjerre *2017-02-05 09:00:55*
[3026116d25fb0d4](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/commit/3026116d25fb0d4) Tomas Bjerre *2017-02-05 13:27:24*

### No issue
doc
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,10 @@ Generally, when fiddling with this plugin, you may want to use something like [R

Here are some guides on how to use the plugin with different systems. Feel free to add guides through pull requests to this repo!

* [Jenkins](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/blob/master/README_jenkins.md)
* [HipChat](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/blob/master/README_hipchat.md)
* [Jenkins](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/blob/master/README_jenkins.md)
* [Slack](https://github.com/Igogrek/bitbucket-slack-notifier)
* [TeamCity](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/blob/master/README_teamcity.md)

### Button Forms

Expand Down
23 changes: 23 additions & 0 deletions README_teamcity.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# TeamCity

Here is how to integrate with TeamCity.

* URL should be set to `https://youserver/httpAuth/app/rest/buildQueue`
* Method should be **POST**
* Post content should be:
```
<build>
<buildType id="Ci_Build "/>
<properties>
<property name="PULL_REQUEST_FROM_BRANCH" value="${PULL_REQUEST_FROM_BRANCH}"/>
<property name="PULL_REQUEST_USER_DISPLAY_NAME" value="${PULL_REQUEST_USER_DISPLAY_NAME}"/>
<property name="test" value="reopen"/>
<property name="PULL_REQUEST_ID" value="${PULL_REQUEST_ID}"/>
<property name="PULL_REQUEST_VERSION" value="${PULL_REQUEST_VERSION}"/>
<property name="PULL_REQUEST_TO_REPO_SLUG" value="${PULL_REQUEST_TO_REPO_SLUG}"/>
<property name="PULL_REQUEST_TO_REPO_PROJECT_KEY" value="${PULL_REQUEST_TO_REPO_PROJECT_KEY}"/>
</properties>
</build>
```
* Don't encode post content
* In **Headers** add "Content-Type" with value "application/xml"

0 comments on commit 1f554c7

Please sign in to comment.