JQuery3 API3.5.1-1Minimum Jenkins requirement: 2.204.4ID: jquery3-api

Installs: 7812
Last released:11 days ago
Maintainers
Ullrich Hafner
Dependencies
No dependencies found

Jenkins Plugin Jenkins Version JDK8 License: MIT

Provides jQuery 3 for Jenkins Plugins. jQuery is — as described on their home page — a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.

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:

<st:adjunct includes="io.jenkins.plugins.jquery3"/>
💡
Since Jenkins uses jQuery 1.x as well make sure to use the global symbol jQuery3 rather than $ when accessing jQuery 3.x.

You can find several examples of Jenkins views that use jQuery in the Warnings Next Generation plugin and in the Forensics plugin.

Jenkins GitHub Actions GitHub pull requests

ArchivesGet past versions
Links
Labels