Skip to content

[feature_parameters] jenkins object connection parameters #828

@JayChanggithub

Description

@JayChanggithub

Hi Support,

i wanna to adopt proxies parameter when i create Jenkins object. Because of our jenkins instance need through proxies to connect. Have anything possible to do these like below sample code ? i saw the source code cannot input additional parameters like proxies. If so how to do? Thanks

from jenkinsapi.jenkins import Jenkins
proxies = {
   'http': 'http://tunnel-http-proxy.pipeline-tunnel:8080'
}


jenkinsClient = Jenkins(
    url,
    username=username,
    password=password,
    ssl_verify=False,
    max_retries=30,
    timeout=120,
    proxies=proxies
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions