pycontribs / jenkinsapi

A Python API for accessing resources and configuring Hudson & Jenkins continuous-integration servers
http://pypi.python.org/pypi/jenkinsapi
MIT License
858 stars 485 forks source link

fix job url #788

Closed dipadipa closed 1 year ago

dipadipa commented 4 years ago

this bug occurs when

  1. We use this package in kubernetes container
  2. and baseurl is kubernetes service url

eg:

  1. maybe jenkins domain is "http://jenkins.demo.com"
  2. but we assign baseurl with kubernetes service url "http://jenkins.jenkins"
code like this
j = Jenkins("http://jenkins.jenkins/job/folder")
"exist_job" in j          # this will be False but wish be True