Initially I started by taking a lot of inspiration from the tcWebHooks plugin I mentioned above. So I decided to take the plunge, learn some Java and setup a new plugin to report build status directly from TeamCity into a Slack room. There is a Slack plugin already for TeamCity but I wasn’t too keen on the way the notifications looked or the reliance on XML configuration to set it up for each project. Nope, I wanted a plugin for TeamCity that would report directly to Slack. There is a very good webhooks plugin available already for TeamCity, the only thing is it doesn’t support commit messages / users and it would bring in a chain of communication that is not strictly necessary. I could of course use my own chat bot project mmbot to do the notifications for me but I would either need to poll TeamCity continuously or use a webhooks plugin. I started to look for a way to have TeamCity notify build results directly into Slack channels (rooms) and found that there were a few options I could have gone with. There are already integrations with JIRA, New Relic, GitHub, Twitter and just about every other thing you can think of. Ok, so once you have Slack up and running, you turn to integrations with other systems that are going to maximise on the true ChatOps experience. The difference being that Slack seems to bring a healthy dose of cool to everything they do, they are iterating incredibly fast right now and seem to be hitting all the right notes. If you haven’t heard of Slack, well it’s basically a chat system for businesses, much like HipChat or Campfire. We have become immense fans of Slack in our office, as have lot of people I know in the software development industry.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |