PageDecorator

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

PageDecorator

slide
Hi everyone,

I've been looking for a way to add some code to job status pages from my plugin. PageDecorator looks like a possibility, but I am unsure if I can get access to information about the build via a page decorator. Is this the correct ExtensionPoint, or is there some better option?

Regards,

Alex

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAPiUgVd91aHDNQob40Z7C%2BhG57w_0vLrREYXQGSaEoanVzDTpA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: PageDecorator

Jesse Glick-4
On Wed, Jul 29, 2020 at 5:32 PM Slide <[hidden email]> wrote:
> I've been looking for a way to add some code to job status pages […] information about the build

Assuming you mean `Run`, not `Job`, I would suggest
`TransientActionFactory<Run>` and then define a `summary` view.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr3Aj3H%3D4BkwChh1TB0onrXvPi2dSD8FX_nkhQcuKWUpiA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: PageDecorator

slide
Yes, I do mean `Run`, thanks. I'll look into that.

On Wed, Jul 29, 2020 at 2:40 PM Jesse Glick <[hidden email]> wrote:
On Wed, Jul 29, 2020 at 5:32 PM Slide <[hidden email]> wrote:
> I've been looking for a way to add some code to job status pages […] information about the build

Assuming you mean `Run`, not `Job`, I would suggest
`TransientActionFactory<Run>` and then define a `summary` view.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr3Aj3H%3D4BkwChh1TB0onrXvPi2dSD8FX_nkhQcuKWUpiA%40mail.gmail.com.


--

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAPiUgVd8O7nR8gxsasuCHRrV9fpbwT74JcdiO%2B3uBeNRk0vtPQ%40mail.gmail.com.