...
Analyze latest TeamCity tests results against the latest master:
- Go to the Home pagePR/Branch check page
- Find PR, press "Inspect" and then "Show report" button. Or fill Fill the form "Check branch/PR":
- Leave base branch empty.
- Enter branch from TeamCity ("pull/<pull-request-number>/head").
- Press "Latest" button to compare with the latest master.
- On the appeared page you can see a table with failed tests and suites. Also, you can see test's failure rate for last 100 runs of master branch.
Most important failures are placed under "Possible Blockers" header in the table. You need to fix them or ensure that they aren't yours before moving ticket to Patch Available.
Analyze latest TeamCity tests results against the other branch:
- Go to the Home PR/Branch check page
- Fill the form "Check branch/PR":
- Enter base branch from TeamCity ("pull/<pull-request-number>/head").
- Enter branch from TeamCity ("pull/<pull-request-number>/head").
- Press "Latest" button to compare PR branch against the base branch.
- On the appeared page you can see a table with failed tests and suites. Also, you can see test's failure rate for last 100 runs of base branch.
Most important failures are placed under "Possible Blockers" header in the table.
Analyze specific TeamCity build against the latest master:
- Go to the Home to the PR/Branch check page
- Fill the form "Check build" with build ID from TeamCity.
- On the appeared page you can see a table with failed tests and suites. Also, you can see test's failure rate for last 100 runs of master branch.
Print possible blockers to the JIRA ticket:
- Go to the PR/Branch check page
- Fill Find PR, press "Inspect" and then "Comment JIRA". Or fill the form "Notify JIRA":
- Enter branch from TeamCity (or "<pull-request-number>" only).
- Enter JIRA ticket number. If PR is named according to contributing guide (name starts with "IGNITE-"), you can leave this field empty.
Trigger "Run All" and comment JIRA by one button:
- Go to the PR/Branch check page
- Find PR, press "Inspect" and then "Trigger build and comment JIRA after finish". Fill the form "TeamCity Run All":
- Enter branch from TeamCity (or "<pull-request-number>" only).
- Enter JIRA ticket number. If PR is named according to contributing guide (name starts with "IGNITE-"), you can leave this field empty.
- Press "Start tests and comment JIRA ticket on ready" button.
...
Lets name result 2 as critical failure. So it is required to have 5 non critical failures and 4 critical to generate notification: ....(0/1)(0/1)(0/1)(0/1)(0/1) 2222....
Contributing to TC Bot
Please see Github integrated documentation on how to contribute: https://github.com/apache/ignite-teamcity-bot#development
FAQ
Q1. Build Launch problems - Forbidden
In case of password change on the original TeamCity(TC) it is mandatory to manually reset credentials inside TC Bot.
TC bot caches old password data and use it to trigger new builds.
TC data upload is background process so viewing data is available with outdated credentials.
To reset credentials click on your user at top rigth corner:
Image Added
and then to Reset Credentials button
Image Added
This action will trigger logout from TC bot.
Enter username and new password.