diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc new file mode 100644 index 0000000..5d775a5 --- /dev/null +++ b/CHANGELOG.adoc @@ -0,0 +1,47 @@ +== Version History + +[[jQueryPlugin-Version1.12.4-0(Oct04,2017)]] +=== Version 1.12.4-0 (Oct 04, 2017) + +* Upgraded to jQuery 1.12.4. + +[[jQueryPlugin-Version1.11.2-1(Sep08,2017)]] +=== VersionĀ 1.11.2-1 (Sep 08, 2017) + +No user-visible changes, only metadata. + +[[jQueryPlugin-Version1.11.2-0(Apr11,2015)]] +=== Version 1.11.2-0 (Apr 11, 2015) + +* Upgraded to jQuery 1.11.2. + +[[jQueryPlugin-Version1.7.2-1(Nov15,2012)]] +=== Version 1.7.2-1 (Nov 15, 2012) + +* Added the http://www.jacklmoore.com/colorbox/[jQuery ColorBox] plugin +JS and CSS as an optional include +** Plugins wishing to use ColorBox just need to add +`++` to their +layout file + +[[jQueryPlugin-Version1.7.2-0(Jun14,2012)]] +=== Version 1.7.2-0 (Jun 14, 2012) + +* Upgraded to jQuery 1.7.2. Bump in the version number is to align the +base jQuery version with this plugin. + +[[jQueryPlugin-Version1.0.2(Feb27,2011)]] +=== Version 1.0.2 (Feb 27, 2011) + +* Rerelease 1.0.1 to properly set required Jenkins version. + +[[jQueryPlugin-Version1.0.1(Feb22,2011)]] +=== Version 1.0.1 (Feb 22, 2011) + +* Downgrade jQuery. (1.4.4 -> 1.4.2) jQuery 1.4.4 dosen't work with +Prototype 1.5.1.1 (Jenkins bundled version) on Chrome, Safari. + +[[jQueryPlugin-Version1.0(Feb20,2011)]] +== Version 1.0 (Feb 20, 2011) + +* Initial release diff --git a/README.adoc b/README.adoc new file mode 100644 index 0000000..c36a208 --- /dev/null +++ b/README.adoc @@ -0,0 +1,24 @@ += jQuery + +This plugin is a library plugin for other plugins to share common +jQuery. It also allows users to use jQuery on each view +descriptions.Because Jenkins uses prototype.js in the core, you cannot +use the standard '$' object to access jQuery. Instead, use the 'Q' +object, or use a new scope created by a function to re-bind '$' to +jQuery safely, as follows: + +[.confluence-embedded-file-wrapper]#image:docs/images/jquery-plugin.png[image]# + +This plugin puts jQuery into every page rendered by Jenkins, so +developers of other plugins need not do anything special to make it +work. + +If Jenkins is 1.453 or later, Jenkins will not allow JavaScript in +description. You will need +https://plugins.jenkins.io/anything-goes-formatter/["Anything +Goes" formatter]. + +== Changelog +For recent versions, see https://github.com/jenkinsci/jquery-plugin/releases[GitHub Releases] + +For versions 1.12.4-0 and older, see CHANGELOG.adoc diff --git a/docs/images/jquery-plugin.png b/docs/images/jquery-plugin.png new file mode 100644 index 0000000..30366a2 Binary files /dev/null and b/docs/images/jquery-plugin.png differ diff --git a/pom.xml b/pom.xml index 1323aa0..19a7f3f 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ hpi jQuery plugin This plugin provides a stable version of the jQuery Javascript Library - https://wiki.jenkins.io/display/JENKINS/jQuery+Plugin + https://github.com/jenkinsci/jquery-plugin 1.12.4-2