Thursday, September 6, 2012

Reporting change status to GitHub

GitHub introduced Commit Status API to set change status from a CI build tools. We decided to implement support of the API in TeamCity.

This is a very simple version of a plugin that makes TeamCity report git commit status to GitHub once build is started or finished. I decided to implement it as a build feature:

Unfortunately, GitHub does not show change status in Changes tab of a repository. So you may notice it only in pull requrests.

All you need is to specify GitHub credentials to let it work

Sources are on GitHub: https://github.com/jonnyzzz/TeamCity.GitHub

You can download a build from our TeamCity: here. Plugin is compiled with TeamCity 7.1 and may work with older versions

Looking forward to get a feedback from you!

1 comment: