help-*.html not used when placed in tag lib folder

17 views
Skip to first unread message

Ullrich Hafner

unread,
Sep 18, 2019, 4:07:51 PM9/18/19
to Jenkins Developers
I extracted a lot of jelly blocks into a separate tag lib (i.e. a folder in the resources) in order to reuse them from several steps. While the jelly file correctly reads the associated properties files from the same folder it seems that the help files are not read. Is this a known bug? Or how can I reuse these HTML files in several steps?

Jesse Glick

unread,
Sep 18, 2019, 8:51:28 PM9/18/19
to Jenkins Dev
On Wed, Sep 18, 2019 at 4:07 PM Ullrich Hafner <ullrich...@gmail.com> wrote:
> I extracted a lot of jelly blocks into a separate tag lib (i.e. a folder in the resources) in order to reuse them from several steps. While the jelly file correctly reads the associated properties files from the same folder it seems that the help files are not read. Is this a known bug? Or how can I reuse these HTML files in several steps?

The `Descriptor` methods to load help files are not going to know
anything about your taglib, so the control will just be using the
default inferred resource location. You would have to explicitly
specify the help file attribute, I guess.

Ullrich Hafner

unread,
Sep 20, 2019, 5:01:47 AM9/20/19
to Jenkins Developers
Thanks! That works quite well for the UI part.

(It does not work for the API Viewer of the job-dal plugin though, so I ended up in duplicating all the files for my different steps)
> --
> 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/CANfRfr33z7BOSv40CytumEFAU4V5a9YVVyMPAEnC1KQbY45c2Q%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages