The problem is that if a jenkins instance is in a subfolder (JENKINS_OPTS / prefix=/jenkins) it does not find the resources as they now just point to /plugin/docker-swarm/... So it seems that either resUrl is not resolved or it is just empty.
Re: Referencing local resources in plugin does not work (resURL)
I found out that in the jelly template, there is a new html/head/body tag and the
<l:layout> was just inside the body. I moved everything inside
<l:layout> and now it correctly resolves the resURL. I will create a separate issue I have with the additional html/head/body which I need in my case.
On Wednesday, September 2, 2020 at 6:17:13 PM UTC+2 [hidden email] wrote:
It's unlikely that resurl would break without anyone else noticing. It's used all over.
What kind of page are you making (what filename and class).
I know if your not inside of a layout tag it won't be defined. But you shouldn't need to call layout unless your making a completely new page