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

[WEBSITE-434] Show basic step description when detailed check fails #17

Merged
merged 3 commits into from
Oct 17, 2019

Conversation

zbynek
Copy link
Contributor

@zbynek zbynek commented Oct 10, 2019

See https://issues.jenkins-ci.org/browse/WEBSITE-434

Make sure step reference creates at least the basic description for the special parallel step.

@zbynek zbynek changed the title Show basic step description when detailed check fails [WEBSITE-434] Show basic step description when detailed check fails Oct 10, 2019
Copy link
Contributor

@kwhetstone kwhetstone left a comment

Choose a reason for hiding this comment

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

Good cleanup on unneeded imports. The help.hml file is the only thing I'm looking for confirmation on since it's the fallback for the files. Is this something that we're encouraging people to use for plugin documentation?

@@ -158,8 +158,9 @@ public static void main(String[] args){
Class<?> delegateOptionType = delegateOptionSchema.getType();
Descriptor<?> delegateDescriptor = Jenkins.getInstance().getDescriptor(delegateOptionType.asSubclass(Describable.class));
// TODO for some reason, stepsToPlugin contains entries for descriptors but not their describables:
Copy link
Contributor

Choose a reason for hiding this comment

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

Update comment if stripping out stepsToPlugin, and explain what's going on here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The comment is now removed and there are some comments for the new code.

@kwhetstone
Copy link
Contributor

LGTM, thanks for adding the comments.

@kwhetstone kwhetstone merged commit 52a4754 into jenkins-infra:master Oct 17, 2019
@zbynek zbynek deleted the website-434 branch October 17, 2019 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants