Currently, I am trying to make a Jenkins API request with Python; however, I am getting in return a certificate error.
In order to bypass this (and take the easy way out) I'm calling a jenkins request with the parameter ssl_verify = False.
But the program still returns
__init__() got an unexpected keyword argument 'ssl_verify'
The code looks something like this:
server = jenkins.Jenkins(URL, username, password, ssl_verify=False)
I also tried the following call:
server = jenkins.Jenkins(URL, requester=Requester(username, password, baseurl, ssl_verify=False)
For the latter, I receive the error:
__init__() got an unexpected keyword argument 'requester'
I know declaring ssl verify = False is not the safest option but I'm trying to make this easy.
Any help or answers will be much appreciated. Thanks.