Issue with BluePageDecorator extension

18 views
Skip to first unread message

Anil Kumar

unread,
May 25, 2022, 11:37:17 PM5/25/22
to Jenkins Developers
Hey everyone,

I am using the BluePageDecorator extension point to add a custom header to all the blue ocean pages in my Jenkins instance. I have included my custom content in the header.jelly file as per the documentation. 

But the content is not being displayed or hidden on the build details page. I can see the div appended to html but for some reason, it is not displayed. It is being rendered correctly on the home page and job list page.

I am attaching the screenshots and code snippets below.

Can someone guide and suggest to me if I am doing anything incorrectly?

Thanks in advance,
Anil Kumar
header.jelly
CustomBlueOceanHeader.java
Screenshot 2022-05-26 at 3.04.27 AM.png
Screenshot 2022-05-26 at 3.03.02 AM.png

Gavin Mogan

unread,
May 26, 2022, 1:48:28 AM5/26/22
to Jenkins Developers
Blueocean as been pretty abandoned so the amount of people who know
how to work with it is pretty low. Also if I remember correctly the
extension system was never really setup so lots of stuff is hard
coded, not sure its extendable.

That being said, looking at your first screenshot, I think blueocean
is a react app that binds itself to #root, with absolute positioning.
You might be able to get it on top with z-index and absolute
positioning.

Gavin
> --
> 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/e187d832-9acb-4dda-b308-65daa37a6910n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages