Skip to content

Commit

Permalink
Add Webhook register problem to Troubleshooting
Browse files Browse the repository at this point in the history
Jenkins is adding categories to MagagementLink to group item.
This change adds the webhook problem item to the "Troubleshooting" category.

see jenkinsci/jenkins#4546
see jenkinsci/script-security-plugin#302
  • Loading branch information
bitwiseman committed Jul 21, 2020
1 parent 4ca0fd4 commit 8f6dc81
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,5 +253,11 @@ public String getDescription() {
public String getDisplayName() {
return Messages.hooks_problem_administrative_monitor_displayname();
}

// TODO: Override `getCategory` instead using `Category.TROUBLESHOOTING` when minimum core version is 2.226+,
// TODO: see https://github.com/jenkinsci/jenkins/commit/6de7e5fc7f6fb2e2e4cb342461788f97e3dfd8f6.
protected String getCategoryName() {
return "TROUBLESHOOTING";
}
}
}

0 comments on commit 8f6dc81

Please sign in to comment.