How can I customize build details page?

37 views
Skip to first unread message

Kirill

unread,
Feb 19, 2015, 7:55:17 AM2/19/15
to jenkin...@googlegroups.com
Hi,

I'm new to Jenkins plugin development. Looks like plugins like Git or Maven plugin are able to add stuff to build's details (see example attached).
As a result, there are different sections - "Changes", "Triggered by", "Test result", etc. How are they added? My understanding is that they appear on build's details page if there's "summary.jelly" defined for extension (Action). Is this correct? That question #1.
Question #2 is - can I alter other summary sections (like "Changes"), created by other plugins used in the build?

Regards,
Kirill.
build_details.png

Baptiste Mathus

unread,
Feb 19, 2015, 11:48:01 AM2/19/15
to jenkin...@googlegroups.com

That's totally dependent on those plugins. Jenkins indeed defines a bunch of core extension points which the plugins are using. And any plugin can also define its own set of extension point (that might be THE reason of Jenkins' success BTW).
So to answer here you'll have to ask or check a given part to see if the generating plugin defines an EP.

>
> Regards,
> Kirill.
>
> --
> 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 jenkinsci-de...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/ee4f5aee-536e-4770-9ad0-2de6896a1f4e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Kirill

unread,
Feb 20, 2015, 10:16:00 AM2/20/15
to jenkin...@googlegroups.com
OK, so answer to question #1 is "Yes" - if Action has a summary.jelly, it's added to the build summary. Just tried that. Hurray!

But I still don't know whether it's possible to alter other summary sections, added by other build steps and plugins, or not. Is it possible to update their output or redefine the sequence of those sections?
It's probably not straightforward and not even a good idea.

четверг, 19 февраля 2015 г., 12:55:17 UTC пользователь Kirill написал:
Reply all
Reply to author
Forward
0 new messages