You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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:
Jenkins.instance.proxy = new ProxyConfiguration('myhost', 8888)
;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.The text was updated successfully, but these errors were encountered: