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

overload connectionCheckUrl for use as base of plugin url #9

Closed
wants to merge 1 commit into from

Conversation

onejli
Copy link

@onejli onejli commented Mar 5, 2014

implicitly use server hosting update site as connectionCheckUrl

implicitly use server hosting update site as connectionCheckUrl
@jenkinsadmin
Copy link

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

@onejli
Copy link
Author

onejli commented Dec 2, 2014

Just noticed that this PR is a little stale. @kohsuke are you the owner of this repo?

@kohsuke
Copy link
Member

kohsuke commented Feb 8, 2015

Connection check is meant to test the reachability of the network, by hitting a server that's far more reliable than Jenkins infra. That's why it points to Google.

I believe your intent is to change where the artifacts get downloaded from, and if so, it should be added as a field to MavenRepository and MavenArtifact should get the value from there.

@kohsuke kohsuke closed this Feb 8, 2015
@kohsuke
Copy link
Member

kohsuke commented Feb 8, 2015

And I forgot to mention, but my apologies to the delay.

@daniel-beck
Copy link
Contributor

@kohsuke A case can be made that http://www.msftncsi.com/ncsi.txt is a better default choice for users in countries with censored internet, see JENKINS-23654.

@onejli
Copy link
Author

onejli commented Feb 9, 2015

@kohsuke @daniel-beck I'd proposed these changes because I'm operating an internal-only update site within a secure environment without access to the outside internet. In cases like this, my thought had been that using the update site itself for the connection check url would be a relatively sane server-side check. This is because at the time that I made the changes, Jenkins was relying on the client's browser to fetch the update-center.json, but was retrieving the plugins themselves via server-side operations (which introduces the possibility of being affected by different network ACLs for server and client).

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.

4 participants