Can the Gitter integration be updated to include when a build starts

gep13's Avatar

gep13

23 Dec, 2014 07:28 PM

Hello,

We have been using Gitter for a while now on ChocolateyGUI and I have only just noticed that AppVeyor has an integration with it. It currently has notifications for when a build succeeds or fails. Is it possible to also include an event for when a build starts?

Thanks

Gary

  1. Support Staff 1 Posted by Feodor Fitsner on 23 Dec, 2014 07:33 PM

    Feodor Fitsner's Avatar

    Where did you find about that integration?

  2. 2 Posted by gep13 on 23 Dec, 2014 08:34 PM

    gep13's Avatar

    When logged into Gitter, I clicked on Settings | Integrations, and then I saw the option to add AppVeyor. This then provided a WebHook URL that I have just put into my appveyor.yml file, but it doesn't seem to be updating the activity stream that is in the Gitter Chat Window.

    I was actually just looking to add this type of integration as part of my Build Script for ChocolateyGUI, but then I noticed that it was already here. Is this something that has only just been added?

    Is there a way to know if the notification from a build has been sent from AppVeyor? I don't see anything in my recent build that succeeded, and no new activitiy in Gitter Chat:

    https://ci.appveyor.com/project/GaryEwanPark/chocolateygui/build/0....

    https://gitter.im/chocolatey/ChocolateyGUI

    Thanks

    Gary

  3. Support Staff 3 Posted by Feodor Fitsner on 23 Dec, 2014 08:44 PM

    Feodor Fitsner's Avatar

    Oh, cool, they added AppVeyor support by themselves. I recall having a task to integrate with Gitter but was to lazy writing in node.js :)

    Re: build start notification - it's not them, it's AppVeyor not calling webhook on build start. No such event yet.

    -Feodor

  4. 4 Posted by gep13 on 23 Dec, 2014 08:47 PM

    gep13's Avatar

    Ah, sweet! I just thought it was something that you would have set up.

    Any thoughts on why I am not getting a notification sent to the Chat window when the build succeeds? Any way of verifying that it was actually sent, in order to see if this is an issue with AppVeyor or Gitter?

    Thanks!

  5. Support Staff 5 Posted by Feodor Fitsner on 23 Dec, 2014 08:51 PM

    Feodor Fitsner's Avatar

    Add your own webhook to the project (requestbin) and see if it's get called.

    -Feodor

  6. 6 Posted by gep13 on 23 Dec, 2014 08:57 PM

    gep13's Avatar

    Ah, good idea!

    I think I have understood your suggestion:

    https://github.com/chocolatey/ChocolateyGUI/commit/6f6fae8c95b1489a...

    Building now...

    Gary

  7. 7 Posted by gep13 on 23 Dec, 2014 09:12 PM

    gep13's Avatar

    Okay, looks like the notification is being sent from AppVeyor:

    http://requestb.in/17ytt2x1?inspect

    So it must be something on the Gitter end. I will get in touch with them and see what is going on, thanks!

    Gary

  8. 8 Posted by gep13 on 23 Dec, 2014 09:33 PM

    gep13's Avatar

    Hey,

    Ok, so looks like this was a misconfiguration/misunderstanding on my part.

    In Gitter, once you create the integration, you can't edit it. Originally, I hadn't set it up to include successful builds, only failed builds. I deleted and re-created the integration, and now it is all working :-)

    Thanks

    Gary

  9. gep13 closed this discussion on 23 Dec, 2014 09:33 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac