https://github.com/jenkinsci/jquery3-api-plugin
Jenkins plug-that provides jQuery 3.x
https://github.com/jenkinsci/jquery3-api-plugin
api-plugin
Last synced: 11 months ago
JSON representation
Jenkins plug-that provides jQuery 3.x
- Host: GitHub
- URL: https://github.com/jenkinsci/jquery3-api-plugin
- Owner: jenkinsci
- License: mit
- Created: 2019-11-07T13:06:47.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-04-29T11:45:59.000Z (11 months ago)
- Last Synced: 2025-04-29T12:54:52.449Z (11 months ago)
- Topics: api-plugin
- Language: JavaScript
- Homepage: https://plugins.jenkins.io/jquery3-api/
- Size: 523 KB
- Stars: 4
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
:tip-caption: :bulb:
= jQuery 3 Jenkins Plugin
image:https://ci.jenkins.io/job/Plugins/job/jquery3-api-plugin/job/main/badge/icon?subject=Jenkins%20CI[Jenkins, link=https://ci.jenkins.io/job/Plugins/job/jquery3-api-plugin/job/main/]
image:https://github.com/jenkinsci/jquery3-api-plugin/workflows/GitHub%20CI/badge.svg[GitHub Actions, link=https://github.com/jenkinsci/jquery3-api-plugin/actions]
image:https://img.shields.io/github/issues-pr/jenkinsci/jquery3-api-plugin.svg[GitHub pull requests, link=https://github.com/jenkinsci/jquery3-api-plugin/pulls]
Provides https://jquery.com[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 JS files of the latest https://jquery.com[jQuery 3] release.
== How to use the plugin
In order to use this JS library, add a maven dependency to your pom:
[source,xml]
----
io.jenkins.plugins
jquery3-api
[latest version]
----
Then you can use jQuery in your jelly files using the following snippet:
[source,xml]
----
----
[TIP]
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
https://github.com/jenkinsci/warnings-ng-plugin[Warnings Next Generation plugin]
and in the https://github.com/jenkinsci/forensics-api-plugin[Forensics plugin].