jenkins-cli-python icon indicating copy to clipboard operation
jenkins-cli-python copied to clipboard

New option to ignore ssl verification of Jenkins server

Open bernardoVale opened this issue 8 years ago • 7 comments

For folks like me, that still has to deal with self-signed certificates :)

This fixes the issue #26.

bernardoVale avatar Apr 23 '17 00:04 bernardoVale

Hello @bernardoVale thank you for the PR. Travis has reported some issues, could you please fix them before merge?

LD250 avatar Apr 23 '17 11:04 LD250

Hey @LD250, I've fixed the flake8 issue, but the test aren't failing because of my new code.

I've just checked using your master branch, check the error:

running test
Searching for pbr>=2.0.0
Reading https://pypi.python.org/simple/pbr/
Download error on https://pypi.python.org/simple/pbr/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749) -- Some packages may not be found!
Couldn't retrieve index page for 'pbr'
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749) -- Some packages may not be found!
No local packages or working download links found for pbr>=2.0.0
error: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')

It's an ssl error while downloading pbr dependency, what an irony haha.

bernardoVale avatar Apr 23 '17 13:04 bernardoVale

I've just checked using your master branch, check the error:

I will check this today later

LD250 avatar Apr 23 '17 14:04 LD250

@bernardoVale I have merged Travis build fix to master branch. I also removed python3.5 from .travis.yml. #29

LD250 avatar May 12 '17 22:05 LD250

Merging this would be appreciated, for now I hardcoded the context creation into run_command and it works :)

djetelina avatar Aug 30 '17 08:08 djetelina

PR is a bit outdated. Conflicts should be resolved before merge.

LD250 avatar Aug 30 '17 13:08 LD250

@LD250 I will rebase master.

bernardoVale avatar Aug 30 '17 13:08 bernardoVale