Build App?

jezz.santos's Avatar

jezz.santos

14 Jan, 2015 07:32 AM

Finding it hard to find anything appropriate for AppVeyor.

What I am looking for are options for displaying build status in our office - audibly and visually.
Whether that is with a real traffic light or other dedicated device, or with an app running on an iPad or windows desktop. Ideally something that can tell us when we are red even when asleep, and ideally with sound.

What are people doing here?

  1. Support Staff 1 Posted by Feodor Fitsner on 14 Jan, 2015 05:42 PM

    Feodor Fitsner's Avatar

    I've heard someone is working on integration with http://sirenofshame.com/

    Also, there is CCTray app (that is not yet supported in AV) that could do something through COM ports.

    Anyway, seems like DIY task.

  2. 2 Posted by jezz.santos on 01 Feb, 2015 04:57 AM

    jezz.santos's Avatar

    Hey Feodor,

    I have now bought my SIrenOfShame and am looking into getting it working with AppVeyor projects.
    I followed your link, but it led me nowhere to a working solution. IOt seems we need to build an 'addin' for the SOS client for this to work.

    Do you have any leads on what that code should be?

  3. Support Staff 3 Posted by Feodor Fitsner on 01 Feb, 2015 07:44 PM

    Feodor Fitsner's Avatar

    Hi Jezz,

    I've looked through this blog post: http://sirenofshame.blogspot.ca/2013/06/how-to-add-support-for-new-...

    Seems like an easy task :) Basically, you need to implement two classes - one for settings (which is Windows Forms UserControl) where you specify AppVeyor URL, API token and select projects to monitor and another one for continous polling AppVeyor API for selected projects build statuses. Hudson plag-in is a good example: https://github.com/AutomatedArchitecture/SirenOfShame/tree/master/H...
    As far as I understand you just drop your plug-in to plugins directory to be automatically picked up by MEF.

    Let me know if you have any questions. Maybe when I have some spare time I could play with it more and write a skeleton.

    ...just realized this siren could be used to monitor practically anything :)

  4. 4 Posted by jezz.santos on 24 Feb, 2015 06:19 AM

    jezz.santos's Avatar

    Any more thoughts on the design of this SOS addin?

    I can do the coding, but don't know what can and should be done with AppVeyor builds.
    i.e. what should the UI contain, and collect from user? and what calls do we need to make to AppVeyor to monitor the build t work correctly with SOS?

    A quick conceptual design would be needed first.
    Then I can code it up with your guidance?

    thoughts

    p.s. do you have a accessible repo I can submit the code to? I don't need to own it, but if not I can host it on our github.

  5. Support Staff 5 Posted by Feodor Fitsner on 25 Feb, 2015 12:51 AM

    Feodor Fitsner's Avatar

    I'd follow the same structure as HudsonServices project. Create a project with the same structure. Per that blog post you should implement ICiEntryPoint interface which basically returns two things: Windows forms UserControl with settings and "watcher" (WatcherBase class). In the attachment you can see how Hudson settings look like. For AppVeyor you would probably need just API key. Then watcher will be connecting to AppVeyor REST API with that API key from settings and check builds.

    I forked original SoS repo here: https://github.com/appveyor/SirenOfShame. Let me know your username - will give you rights on it.

  6. 6 Posted by jezz.santos on 27 Feb, 2015 05:58 AM

    jezz.santos's Avatar

    github username is jezzsantos.
    Nice I can probably get started. might be a coulel weeks away yet.

  7. Support Staff 7 Posted by Feodor Fitsner on 27 Feb, 2015 06:12 PM

    Feodor Fitsner's Avatar

    Added to a team!

  8. 8 Posted by jezz.santos on 27 Dec, 2015 10:23 PM

    jezz.santos's Avatar

    Hi Feodor,

    I have created the AppVeyor extension for SirenOfShame on this fork:
    https://github.com/mindkin/SirenOfShame

    I forked the original to get a more recent update of SirenOfShame.
    Happy to share this new extension with the community.

    Did you want to host this code somewhere else? I may need to extend it later

  9. 9 Posted by jezz.santos on 27 Dec, 2015 10:25 PM

    jezz.santos's Avatar

    A shot of the app working

  10. 10 Posted by jezz.santos on 28 Dec, 2015 12:04 AM

    jezz.santos's Avatar

    Here is a slightly better one

  11. 11 Posted by jezz.santos on 28 Dec, 2015 12:04 AM

    jezz.santos's Avatar

    I've made a pull request to the main project site: https://github.com/AutomatedArchitecture/SirenOfShame/pull/65

  12. Support Staff 12 Posted by Feodor Fitsner on 28 Dec, 2015 12:05 AM

    Feodor Fitsner's Avatar

    Looks cool!

    So, it can be used without a siren, right?

  13. 13 Posted by jezz.santos on 28 Dec, 2015 05:30 AM

    jezz.santos's Avatar

    yes of course, without the siren its a desktop build monitor app, that runs in the background, AND what makes it cool are the achievements and shame that is dished out!

    Take a look here:

  14. Support Staff 14 Posted by Feodor Fitsner on 28 Dec, 2015 07:14 PM

    Feodor Fitsner's Avatar

    Looks nice :)

  15. 15 Posted by jezz.santos on 28 Dec, 2015 07:57 PM

    jezz.santos's Avatar

    Happy for me to do the 'pull request' from the fork in my repo?

    You might want to lean up your fork. You had also forked the repo and given me permission over at: https://github.com/appveyor/SirenOfShame.

  16. jezz.santos closed this discussion on 28 Dec, 2015 07:57 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