-
Improvement
-
Resolution: Done
-
Minor
Role-based Authorization compile has nine (9) deprecated warnings arising from API external to this plugin:
- deprecated Jenkins.RUN_SCRIPTS field once
- deprecated PluginManager fields twice:
- CONFIGURE_UPDATECENTER
- UPLOAD_PLUGINS
- deprecated Jenkins.getInstance() method once
- deprecated Jenkins.getActiveInstance() method 5 times
Proposed resolution:
- @SuppressWarnings("deprecation") above field declaration resolved 1 and 2 above
- Replace Jenkins.getInstance() with Jenkins.getInstanceOrNull() per JavaDoc.
- Replace Jenkins.getActiveInstance() with Jenkins.get() per JavaDoc.
Consider this a newbie contributor training exercise.
- relates to
-
JENKINS-67406 Role-based Authorization 3.2.0 After Matrix Authorization 3.0 Upgrade
-
- Resolved
-
-
JENKINS-67393 Can't display person icon on Assign Roles page after matrix auth 3.0 update
-
- Closed
-
-
JENKINS-67413 Remove com.synopsys.arc.jenkins.plugins.rolestrategy.UserMacroExtension deprecated warnings
-
- Closed
-
[JENKINS-67425] Remove External API Deprecated Warnings
Assignee | Original: Oleg Nenashev [ oleg_nenashev ] | New: Conrad T. Pino [ conrad_t_pino ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Link |
New:
This issue relates to |
Link |
New:
This issue relates to |
Link |
New:
This issue relates to |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Status | Original: In Review [ 10005 ] | New: In Progress [ 3 ] |
Description |
Original:
Role-based Authorization compile has nine (9) deprecated warnings:
* 1 is deprecated {{Jenkins.RUN_SCRIPTS}} field * 2 are deprecated {{PluginManager}} fields: ** {{CONFIGURE_UPDATECENTER}} ** {{UPLOAD_PLUGINS}} * 1 is deprecated {{Jenkins.getInstance()}} method * 5 are deprecated {{Jenkins.getActiveInstance()}} method Consider this a newbie contributor training exercise. |
New:
Role-based Authorization compile has nine (9) deprecated warnings in API external to this plugin:
* 1 is deprecated {{Jenkins.RUN_SCRIPTS}} field * 2 are deprecated {{PluginManager}} fields: ** {{CONFIGURE_UPDATECENTER}} ** {{UPLOAD_PLUGINS}} * 1 is deprecated {{Jenkins.getInstance()}} method * 5 are deprecated {{Jenkins.getActiveInstance()}} method Consider this a newbie contributor training exercise. |
Description |
Original:
Role-based Authorization compile has nine (9) deprecated warnings in API external to this plugin:
* 1 is deprecated {{Jenkins.RUN_SCRIPTS}} field * 2 are deprecated {{PluginManager}} fields: ** {{CONFIGURE_UPDATECENTER}} ** {{UPLOAD_PLUGINS}} * 1 is deprecated {{Jenkins.getInstance()}} method * 5 are deprecated {{Jenkins.getActiveInstance()}} method Consider this a newbie contributor training exercise. |
New:
Role-based Authorization compile has nine (9) deprecated warnings in API external to this plugin:
# deprecated {{Jenkins.RUN_SCRIPTS}} field once # deprecated {{PluginManager}} fields twice: ** {{CONFIGURE_UPDATECENTER}} ** {{UPLOAD_PLUGINS}} # deprecated {{Jenkins.getInstance()}} method once # deprecated {{Jenkins.getActiveInstance()}} method 5 times Proposed resolution: * {{@SuppressWarnings("deprecation")}} above method declaration resolved 1 and 2 above * Replace {{Jenkins.getInstance()}} with {{Jenkins.getInstanceOrNull()}} per JavaDoc. * Replace {{Jenkins.getActiveInstance()}} with {{Jenkins.get()}} per JavaDoc. Consider this a newbie contributor training exercise. |
Description |
Original:
Role-based Authorization compile has nine (9) deprecated warnings in API external to this plugin:
# deprecated {{Jenkins.RUN_SCRIPTS}} field once # deprecated {{PluginManager}} fields twice: ** {{CONFIGURE_UPDATECENTER}} ** {{UPLOAD_PLUGINS}} # deprecated {{Jenkins.getInstance()}} method once # deprecated {{Jenkins.getActiveInstance()}} method 5 times Proposed resolution: * {{@SuppressWarnings("deprecation")}} above method declaration resolved 1 and 2 above * Replace {{Jenkins.getInstance()}} with {{Jenkins.getInstanceOrNull()}} per JavaDoc. * Replace {{Jenkins.getActiveInstance()}} with {{Jenkins.get()}} per JavaDoc. Consider this a newbie contributor training exercise. |
New:
Role-based Authorization compile has nine (9) deprecated warnings arising from API external to this plugin:
# deprecated {{Jenkins.RUN_SCRIPTS}} field once # deprecated {{PluginManager}} fields twice: ** {{CONFIGURE_UPDATECENTER}} ** {{UPLOAD_PLUGINS}} # deprecated {{Jenkins.getInstance()}} method once # deprecated {{Jenkins.getActiveInstance()}} method 5 times Proposed resolution: * {{@SuppressWarnings("deprecation")}} above method declaration resolved 1 and 2 above * Replace {{Jenkins.getInstance()}} with {{Jenkins.getInstanceOrNull()}} per JavaDoc. * Replace {{Jenkins.getActiveInstance()}} with {{Jenkins.get()}} per JavaDoc. Consider this a newbie contributor training exercise. |