Skip to content

Commit

Permalink
[JENKINS-70740] Fix JobconfigHistory circular dependency source (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dohbedoh authored Mar 7, 2023
1 parent c8967cc commit d28a547
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/
package hudson.plugins.jobConfigHistory;

import hudson.ExtensionList;
import hudson.Plugin;
import hudson.model.User;
import hudson.security.ACL;
Expand Down Expand Up @@ -55,7 +56,7 @@ private PluginUtils() {
* @return plugin
*/
public static JobConfigHistory getPlugin() {
return GlobalConfiguration.all().get(JobConfigHistory.class);
return ExtensionList.lookupSingleton(JobConfigHistory.class);
}

/**
Expand Down

0 comments on commit d28a547

Please sign in to comment.