I am trying to add a "copy to clipboard" feature to my badges in
https://github.com/jenkinsci/badge-plugin/pull/267For reasons I do not understand, the copy.js is not properly loaded. It seems to be blocked by something when used in badge.jelly. It works just fine in other places.
The script is never being loaded from the server, eventhough the adjunct statement is filled in correctly. Putting my function in the console of the browsers DevTools does work just fine.
Any pointer that tells me what I'm doing wrong or help me bring this into the right direction would be highly appreciated.