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

jenkins_plugin ignores HTTP Proxy configuration #598

Open
giorgian opened this issue Apr 14, 2017 · 2 comments
Open

jenkins_plugin ignores HTTP Proxy configuration #598

giorgian opened this issue Apr 14, 2017 · 2 comments

Comments

@giorgian
Copy link

Cookbook version

5.0.0

Chef-client version

12.19.36

Platform Details

Centos 7

Scenario:

jenkins_plugin ignores HTTP Proxy configuration

Steps to Reproduce:

  • Setup an HTTP Proxy in jenkins -> PluginManager -> Advanced (or, execute Jenkins.instance.proxy = new ProxyConfiguration('myhost', 8888);
  • have chef run jenkins_plugin 'somePlugin'

Expected Result:

Jenkins installs the plugin

Actual Result:

Chef tries to download update-center.json ignoring the Proxy settings, thus failing.

To me, the cookbook should either get the proxy configuration from jenkins (via Jenkins.instance.proxy) and use it, or have Jenkins install plugins its way.

@giorgian
Copy link
Author

Another possibility would be to add a feature to manage proxy configuration for plugin manager explicitly and both set it on Jenkins and use it for manual retrieval of information in the cookbook.

@Dispader
Copy link

It looks like jenkins_command might suffer from a similar bug.

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

No branches or pull requests

4 participants