-
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