sous-chefs / jenkins

Development repository for the jenkins cookbook
https://supermarket.chef.io/cookbooks/jenkins
Apache License 2.0
424 stars 636 forks source link

jenkins_plugin ignores HTTP Proxy configuration #598

Open giorgian opened 7 years ago

giorgian commented 7 years ago

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:

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 commented 7 years ago

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 commented 6 years ago

It looks like jenkins_command might suffer from a similar bug.