-
Notifications
You must be signed in to change notification settings - Fork 370
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-31462] GitHub Enterprise Servers validation #10
Conversation
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. |
Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests |
public FormValidation doCheckApiUrl(@QueryParameter String value) { | ||
if (Util.fixEmptyAndTrim(value) == null) { | ||
return FormValidation.error("You must specify the API URI"); | ||
public FormValidation doCheckApiUri(@QueryParameter String apiUri) { |
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.
Better to add @Restricted
to new Stapler methods
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.
@oleg-nenashev Really?
/**
* Indicates that a particular element is really deprecated and that the access to it
* is subject to the additional restrictions.
*
* <p>
* These annotations and restrictions introduced by them are enforced by the
* "access-modifier-checker" mojo.
*
* @author Kohsuke Kawaguchi
*/
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.
@oleg-nenashev mean Restricted.NO_EXTERNAL_USAGE (AFAIR)
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.
@KostyaSha Thanks. Done. /cc @oleg-nenashev
@recena |
@oleg-nenashev Add a GH Enterprise server is not related to |
🐝 |
This PR should be reverted! |
The changes are not in |
[JENKINS-57900] Add loggers
JENKINS-31462
downstream jenkinsci/github-api-plugin#5 (really hub4j/github-api#232)
@reviewbybees especially, @jglick