Further information about WebHook Templates is on the wiki. Slack compact (also works well with MatterMost)Ĭreating or editing templates is accomplished using a WebUI built on top of the tcWebHooks REST API.The ones bundled with tcWebHooks include: I’ve prepared a few to get you started, but it’s very easy to modify them or create your own. WebHook TemplatesĪ WebHook Template is a predefined payload that can be reused with multiple webhook configurations. If neither of those are right for you, it’s possible to create your own template by either copying an existing one, or creating a new one. The “ Compact Notification” has templates which produce a more compact notification. The “ JSON templates” payload format has templates which produce a message in slack with some information about the build.Ģ. Create a webhook in TeamCity and choose from one of the Slack payload formatsĪs of the time of writing (December 2017), there are two Slack specific webhook templates bundled with a tcWebHooks release.ġ.The good news is that in version 1.1 of tcWebHooks, it got whole lot easier. It turned out to be one of the more popular posts. I wrote a blog post in 2014 about how it’s possible to get tcWebHooks to send messages to slack. Posted on DecemUpdated on December 7, 2017 A better way of integrating TeamCity with using WebHooks TeamCity has a plugin API apparently - Java based, and slack supports incoming webhooks allowing to to post anything youd like, so with a little bit of.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |