Jesse Glick
7f856b5608
[FIXED JENKINS-12753] Added PluginStrategy.getShortName to avoid actually trying to unpack a plugin before throwing RestartRequiredException.
2014-05-20 12:57:47 -04:00
Oliver Gondža
f76eca4ee8
[FIXED JENKINS-22553] Do not expose plugin list that can be a subject of modification
2014-04-10 00:33:50 +02:00
Jesse Glick
56b360d6f3
[JENKINS-19976] Touch-ups to PR #1054 .
2014-03-24 10:10:52 -04:00
Jesse Glick
df8df45c27
[FIXED JENKINS-19976] Merged #1054 : fix class loading from dynamically installed optional dependencies.
2014-03-24 09:52:32 -04:00
Jesse Glick
df9c92e461
Removed DownloadSettings.checkSignature; back to using a plain system property for this.
2014-03-17 12:48:24 -04:00
Jesse Glick
db8d6508aa
Merge branch 'master' into DownloadSettings-JENKINS-19081
2014-03-17 12:33:48 -04:00
Stephen Connolly
483181c0a1
[FIXED JENKINS-22080] Braindead logic in author of original fix... corrected by same author
2014-03-07 15:29:21 +00:00
Stephen Connolly
f9b0f348d0
[FIXED JENKINS-22080] NPE if trying to install a plugin from the update center and either the update source or the plugin contains a '.' in its name
2014-03-07 15:26:06 +00:00
Jesse Glick
1ac77750e9
[FIXED JENKINS-19081] Offer the option of downloading metadata directly from the server.
2014-02-27 16:31:07 -05:00
Jesse Glick
898f1f76a3
[FIXED JENKINS-12124] Occasionally errors loading plugin classes since it is expected that findClass (and findLoadedClass) are called under synchronization.
...
The problem was masked by a blind assumption that an InvocationTargetException was in fact wrapping a ClassNotFoundException.
Many thanks to @gotwarlost for demonstrating how to reproduce the problem and diagnosing the cause.
2014-02-21 15:03:16 -05:00
ikedam
87e2a7e8d5
[FIXED JENKINS-19976] Enable plugins to load classes from optionally depending plugins even without restarting after depended ones installed.
2013-12-10 23:53:38 +09:00
Jesse Glick
15ac490af1
Now that we use Java 6, can finally deprecate IOException2.
2013-11-15 08:19:59 -05:00
Kohsuke Kawaguchi
47de54d070
[FIXED JENKINS-18677]
...
Integrated bytecode-compatibility-transformer that allows core to
do signature changes on properties that plugins might depend on.
The library performs necessary bytecode transformation to achieve this.
The first use of this is to fix plugins that looks for List
AbstractProject.triggers, thereby resolving JENKINS-18677.
For the time being, I'm not loading such compatibility annotations from
plugins, but I did code that in PluginManager. Let's see how this
feature work out for a while in the core, and if it looks stable and
solid, we'll open it up to plugins at that point.
2013-08-02 22:29:21 -07:00
Jesse Glick
b1c82f1e30
stephenc asks to use TODO rather than XXX
2013-06-10 11:53:13 -04:00
Jesse Glick
5ecbbefb6d
[FIXED JENKINS-16652] Use UpdateSite.Plugin.deploy from PluginManager.doUploadPlugin.
2013-05-14 20:15:07 -04:00
Kohsuke Kawaguchi
f1669601e4
[FIXED JENKINS-4543] Identify the short name of the plugin from the manifest.
2013-04-24 11:23:37 -07:00
Kohsuke Kawaguchi
2c97fe227a
exposing this code to outside
2012-12-31 08:47:26 -08:00
Michael Koch
bb77daf0cc
Add list-plugins command
2012-12-09 22:36:26 -08:00
Kohsuke Kawaguchi
82c92332a4
this no longer means that the restart is required
2012-11-21 10:40:53 -08:00
imod
51619cc80a
change @since to 1.491
2012-11-05 18:38:20 +01:00
imod
edd6841644
minor changes from pull feedback
2012-11-05 18:34:02 +01:00
imod
32bb46bf33
add @since 1.490
2012-11-04 14:41:44 +01:00
imod
44f0065929
ease usage of PluginUpdateMonitor
2012-11-03 10:28:11 +01:00
imod
7291b2bc55
only one entry per plugin
2012-11-01 15:44:11 +01:00
imod
6b94377864
fix PluginUpdateMonitor rendering issue
2012-11-01 15:44:10 +01:00
imod
3280e83a88
add PluginUpdateMonitor to inform administrators about required updates
2012-11-01 15:44:10 +01:00
Jesse Glick
eb18f080bb
[FIXED JENKINS-15511] NPE from PluginManager.
2012-10-12 15:32:40 -04:00
Kohsuke Kawaguchi
424a602fa2
added a side-effect free validation call + a separate mutation call as per the original discussion
2012-09-14 14:55:43 -07:00
Kohsuke Kawaguchi
51caa2ed7c
misc nit-picking
...
- massaging exception handling
- leaving a TODO for a possible future enhancement
2012-09-14 14:26:22 -07:00
Jesse Glick
f30c7b1d7d
@since
2012-09-14 17:10:26 -04:00
Jesse Glick
1278f0319b
Rearranging imports.
2012-09-14 17:08:16 -04:00
Jesse Glick
fb6edb0405
Added a web method for prevalidateConfig.
2012-09-14 16:55:35 -04:00
Jesse Glick
2658f36994
Basic implementation of prevalidateConfig working.
2012-09-14 14:56:10 -04:00
Jesse Glick
deb9195907
Basic test case written.
2012-09-11 16:49:11 -04:00
Jesse Glick
b3f88effc0
Merge branch 'master' into track-plugins-15003
2012-09-11 16:22:48 -04:00
Jesse Glick
f673c44556
Introduce constant: UpdateCenter.ID_DEFAULT
2012-09-11 11:17:40 -04:00
Jesse Glick
258579f259
API sketch.
2012-09-10 18:39:33 -04:00
Kohsuke Kawaguchi
c0f7065668
added a marker interface to help plugin developers.
2012-07-23 14:10:15 -07:00
Nicolas De loof
6da5894f49
Merge pull request #491 from ndeloof/JENKINS-13909
...
[JENKINS-13909] don't keep legacy *.hpi when uploading a plugin
2012-06-05 00:51:52 -07:00
Ryan Campbell
474964cc5a
Add PluginManager.CONFIGURE_UPDATECENTER permission which allows a user to configure update sites and proxy info.
2012-06-04 16:36:31 -05:00
Ryan Campbell
2ebf332b08
Introduce PluginManager.UPLOAD_PLUGINS permission which allows a user to upload arbitrary plugins.
2012-06-04 16:36:31 -05:00
Nicolas De Loof
de5938b3a6
[JENKINS-13909] don't keep legacy *.hpi when uploading a plugin
...
even jenkins takes care to load jpi first, this is confusing
2012-06-01 17:16:10 +02:00
Kohsuke Kawaguchi
76832379d8
exposed data about installed plugins, installable plugins, update center jobs, etc., to the REST API
2012-05-21 16:59:24 -07:00
Alex Lehmann
2453985ca5
[Fixed JENKINS-13129] Updating built-in plugins doesn't work, the file doesn't get pinned and is overwritten on the next startup
...
changed bundled plugin detection, added unit test
2012-03-27 17:12:33 +02:00
Kohsuke Kawaguchi
132f8b769d
[FIXED JENKINS-12514]
...
Fixed the file overwrite problem on Windows.
2012-03-09 16:51:05 -08:00
imod
40e8952717
fix monitor activation
2012-02-22 18:54:37 +01:00
imod
8d220fb193
update comments
2012-02-20 19:52:35 +01:00
imod
aad6e4c66c
only deactivate plugins with cycle dependencies instead of failing to launch Jenkins
2012-02-19 18:29:53 +01:00
Kohsuke Kawaguchi
e3cf985819
correctly handle ambgious cases (such as when we run in the development mode)
2012-02-19 09:45:43 +09:00
Kohsuke Kawaguchi
ba71264b6b
Fixed a bug in the auto-overwrite of bundled plugins.
...
Bundled plugins should be laid down as *.jpi, with proper measure to
migrate existing bits.
2012-01-20 13:01:25 -08:00