Open JayChanggithub opened 2 years ago
Since i looked here first, i'll post how I worked around this:
import jenkinsapi, urllib
server = jenkinsapi.jenkins.Jenkins(server_uri, username=username, password=password)
server.requester.session.proxies = urllib.request.getproxies()
Any updates?
@vetsin Yes it should work, but you patch private variable, so it could not work in future.
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