Skip to content

Commit ce791e4

Browse files
authored
Merge pull request jenkinsci#236 from bitwiseman/task/category
Add Webhook register problem to Troubleshooting
2 parents 4ca0fd4 + 8f6dc81 commit ce791e4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/main/java/org/jenkinsci/plugins/github/admin/GitHubHookRegisterProblemMonitor.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,5 +253,11 @@ public String getDescription() {
253253
public String getDisplayName() {
254254
return Messages.hooks_problem_administrative_monitor_displayname();
255255
}
256+
257+
// TODO: Override `getCategory` instead using `Category.TROUBLESHOOTING` when minimum core version is 2.226+,
258+
// TODO: see https://github.com/jenkinsci/jenkins/commit/6de7e5fc7f6fb2e2e4cb342461788f97e3dfd8f6.
259+
protected String getCategoryName() {
260+
return "TROUBLESHOOTING";
261+
}
256262
}
257263
}

0 commit comments

Comments
 (0)