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
https://github.com/ashwanthkumar/gocd-build-badge-notifier https://github.com/ashwanthkumar/gocd-build-badge-server 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. On Thu, 3 Dec, 2020, 19:06 Joel Bodenmann, <[email protected]> wrote: > Hello folks, > > Coming from Jenkins I am used to the embeddable build status > <https://plugins.jenkins.io/embeddable-build-status/> which exposes the > build status embleme to the public. Looks like this > <https://ci.simulton.com/buildStatus/icon?job=GPDS>. > > 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 > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/go-cd/a4f6a5b4-1427-4680-8d48-e1dc2e3231f6n%40googlegroups.com > <https://groups.google.com/d/msgid/go-cd/a4f6a5b4-1427-4680-8d48-e1dc2e3231f6n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CAD9m7Cws0uLO9LL0zSN5faiKc10kosRHwC_Ters2qshAjiSuVQ%40mail.gmail.com.
