-
-
Notifications
You must be signed in to change notification settings - Fork 9k
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
[FIXED JENKINS-37590] Return a null property if no parameters #2723
Conversation
At least part of the impetus for this issue was dealt with a while back by a revert of PR jenkinsci#2444, but this gives us a better solution anyway by guaranteeing we have a null property rather than one without parameters.
This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation. |
Doesn't this completely negate the advantage |
🐝 |
Only partially. The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good but reverting the now-obsolete #2444 would be better.
Specifically #2660 seems to have partially reverted it, but the two (redundant?!) patches to |
Aaaah, I'll get the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🐝
This fix actually didn't fix the reported issue (though it fixed others): https://issues.jenkins-ci.org/browse/JENKINS-46638 |
JENKINS-37590
At least part of the impetus for this issue was dealt with a while
back by a revert of PR #2444, but this gives us a better solution
anyway by guaranteeing we have a null property rather than one without
parameters.
cc @reviewbybees esp @jglick