Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Webhook register problem to Troubleshooting #236

Merged
merged 1 commit into from Aug 7, 2020

Conversation

bitwiseman
Copy link
Contributor

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

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
@@ -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+,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2.164.3 is the current core

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that is the point. This makes this work and build with earlier versions like 2.164.3 but also return a category when run on later versions that support categories.

@bitwiseman
Copy link
Contributor Author

@KostyaSha Can we go ahead and merge this?

@KostyaSha KostyaSha merged commit ce791e4 into jenkinsci:master Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants