This repository has been archived by the owner on Jun 9, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fab4eb8
commit 1f554c7
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |