Skip to content

Commit

Permalink
[FIXED JENKINS-20027] Exception thrown when Dashboard View plugin is …
Browse files Browse the repository at this point in the history
…not installed

Signed-off-by: Anders Hammar <anders@hammar.net>
  • Loading branch information
andham committed Mar 18, 2014
1 parent 50bdcff commit 6458233
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -102,7 +102,7 @@ private void rss(StaplerRequest req, StaplerResponse rsp, String suffix, RunList

public static class DescriptorImpl extends Descriptor<DashboardPortlet> {

@Extension
@Extension(optional = true)
public static DescriptorImpl newInstance() {
if (Hudson.getInstance().getPlugin("dashboard-view") != null) {
return new DescriptorImpl();
Expand Down

0 comments on commit 6458233

Please sign in to comment.