Public build status query

16 views
Skip to first unread message

Joel Bodenmann

unread,
Dec 3, 2020, 8:36:29 AM12/3/20
to go-cd
Hello folks,

Coming from Jenkins I am used to the embeddable build status which exposes the build status embleme to the public. Looks like this.

I would like to know what the GoCD way of doing this is.

I'd like to write a plugin for this to make it as easy as possible setting this up. My questions:
  • Are there already mechanisms in place to facilitate this kind of feature? Is the notification plugin interface suitable for this?
  • Should I rather have a task plugin (Aravind is gonna hate me for that ^^) which creates the build status embleme and pushes it via SFTP to a webserver?
  • Making the build (embeddable) build status available to the public would require a webserver. Can GoCD's built-in webserver be abused for this? Is it recommended? If not, why?
Thank you for your inputs!


Regards,
~ Joel

Ashwanth Kumar

unread,
Dec 3, 2020, 9:02:32 AM12/3/20
to go...@googlegroups.com
If it helps, I tried doing this a few years back. May be these might serve as a basis for what you want to achieve



Some practical problems are that GoCD installations are generally not exposed to public and I was using GitHub at that time and their cache system wouldn't pick up the image for Readme. That's why the build server that collects this and renders the image. If I were to do it today and everything is inside a corp network, I would run an embedded server inside the plugin and see if we could expose the images from that instead. To avoid additional infrastructure. 



--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/a4f6a5b4-1427-4680-8d48-e1dc2e3231f6n%40googlegroups.com.

Ashwanth Kumar

unread,
Dec 3, 2020, 9:05:21 AM12/3/20
to go...@googlegroups.com
I forgot to add that I'm not using any of it now in production. Having said that, I would be happy to collaborate on this if interested. 
Reply all
Reply to author
Forward
0 new messages