-
-
Notifications
You must be signed in to change notification settings - Fork 8.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
[JENKINS-14538] Move tool configuration to separate page #2140
Conversation
Conflicts: core/src/main/resources/hudson/model/Computer/sidepanel.jelly
This needs to be debugged because it's basically not working. For example, JDK installations are not persisted to disk, so they are all gone after a restart. Investigating... |
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. |
@@ -3354,8 +3354,6 @@ public synchronized void doConfigSubmit( StaplerRequest req, StaplerResponse rsp | |||
|
|||
systemMessage = Util.nullify(req.getParameter("system_message")); | |||
|
|||
setJDKs(req.bindJSONToList(JDK.class, json.get("jdks"))); |
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.
This call is no more needed as the JDKs list is set in a call to its descriptor configure
in GlobalToolConfiguration.doConfigure
. Moreover it was clearing out the JDKs list on each general configuration submit (because there is no such jdks
attribute in the JSON now).
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.
Yes, good.
Looks solid. No real findings. No +1 from me, as I'm co-author. |
l.main_panel { | ||
h1 { | ||
l.icon(class: 'icon-setting icon-xlg') | ||
// TODO more appropriate icon |
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.
Do you plan to address this TODO before the PR gets merged?
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.
Well, I'm not a good icon designer. If someone sends one, I'll use it.
Anyway, now that Manage Jenkins is using icon-gear
I think it's ok to keep icon-setting
here.
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.
This TODO is obsolete. Since this PR switches the Manage Jenkins icon, uses of this icon for tools is appropriate.
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.
So 🐜 delete the misleading comment.
looks good to me 👍 |
might be yours. |
|
It seems the root cause is
I'm going to close/reopen to get a new build. |
This time
But |
@@ -73,11 +71,12 @@ public String getDisplayName() { | |||
public static class Security extends GlobalConfigurationCategory { | |||
@Override | |||
public String getShortDescription() { | |||
return Messages.GlobalSecurityConfiguration_Description(); | |||
return hudson.security.Messages.GlobalSecurityConfiguration_Description(); |
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.
BTW not an issue introduced in this PR, but would be nice at some point to use core/move-l10n.groovy
to put this message in the natural place.
🐝 |
This PR wraps up #2011.
It fixes remaining tasks:
@jenkinsci/code-reviewers and @reviewbybees