titleweight
    Proxy
    90

    Jenkins might be stay in behind a firewall. So we cannot connect it directly. You can give jcli a proxy setting. It’s also very simple to support a proxy setting. You just need to execute: jcli config edit. Then find the item which you want to add a proxy. Like the below demo:

    1. jenkins_servers:
    2. - name: dev
    3. url: http://192.168.1.10
    4. username: admin
    5. token: 11132c9ae4b20edbe56ac3e09cb5a3c8c2
    6. proxy: http://192.168.10.10:47586
    7. proxyAuth: username:password