On Wed, Aug 4, 2021 at 7:13 PM Ullrich Hafner <[email protected]>
wrote:

> Of course I can parse the absolute URL on my own, but it would be simpler
> if I can reuse some functionality in core if available (based on relative
> paths).
>

https://github.com/jenkinsci/jenkins/blob/f185e66ef70b67236d944eb5e06d6bad3516c889/core/src/main/resources/hudson/model/AbstractBuild/sidepanel.jelly#L33-L39
seems to be it and reasonably reusable?

Implementation at
https://github.com/jenkinsci/jenkins/blob/f185e66ef70b67236d944eb5e06d6bad3516c889/core/src/main/java/hudson/Functions.java#L381-L411

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAMo7Pt%2BgE185npgdu-U-n9%2BfV0Nr1PqBEm12jzNRneT9eaAf2Q%40mail.gmail.com.

Reply via email to