Role jenkins/configure-proxy

Configure the proxy settings in jenkins.

Role jenkins configure-proxy
Become:

No

Parameters:
  • jenkins_home – Jenkins instance home.
  • proxy_host – Proxy Hostname
  • proxy_username – Username on proxy
  • proxy_password – Password on proxy
  • proxy_port – Proxy port
  • proxy_noproxy – Use direct connections for these. One host per line.

If proxy_username is defined proxy_password is required too.

If proxy_hostname is defined proxy_port is required too.

If proxy_hostname is undefined jenkins will be configured for direct connection.

no_proxy is a list of newline separated hostnames.