This plugin contains the latest WebJars release and corresponding Jenkins UI elements.
How to use the plugin
In order to use this JS library, add a maven dependency to your pom:
<dependency> <groupId>io.jenkins.plugins</groupId> <artifactId>jquery3-api</artifactId> <version>[latest version]</version> </dependency>
Then you can use jQuery in your jelly files using the following snippet:
|| Since Jenkins uses jQuery 1.x as well make sure to use the global symbol