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

fix checking creds on github enterprise #90

Merged
merged 1 commit into from
Sep 27, 2015

Conversation

lanwen
Copy link
Member

@lanwen lanwen commented Sep 27, 2015

also additional fixes mentioned in #88

Review on Reviewable

also additional fixes mentioned in jenkinsci#88
@@ -257,6 +257,7 @@ public FormValidation doVerifyCredentials(
@QueryParameter String apiUrl, @QueryParameter String credentialsId) throws IOException {

GitHubServerConfig config = new GitHubServerConfig(credentialsId);
config.setCustomApiUrl(isUrlCustom(apiUrl));
Copy link
Member

Choose a reason for hiding this comment

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

that's why i prefered to have direct url without any boolean checkboxes

Copy link
Member Author

Choose a reason for hiding this comment

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

when this component will be in jenkins, it will be much easier to avoid such logic here

@oleg-nenashev
Copy link
Member

LGTM

@KostyaSha
Copy link
Member

👍

KostyaSha added a commit that referenced this pull request Sep 27, 2015
fix checking creds on github enterprise
@KostyaSha KostyaSha merged commit 7293422 into jenkinsci:master Sep 27, 2015
@lanwen lanwen deleted the cached_check_enterprise branch September 27, 2015 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants