** Changed in: python-jenkins
       Status: New => In Progress

** Changed in: python-jenkins
     Assignee: Bernardo Vale (bvale) => Khai Do (zaro0508)

-- 
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bugs.launchpad.net/bugs/1685575

Title:
  Get Job Info by Pattern should use fullname

Status in Python Jenkins:
  In Progress

Bug description:
  get_job_info_regex should use fullname instead of name otherwise it
  will fail if the matched job is inside a folder.

  For example, given the above structure:

  job1
  frontend/
    front-build
    front-deploy
  job2

  If we execute this code:

  jobs = server.get_job_info_regex(pattern='front', folder_depth=None)
  We will get the following error:

  jenkins.NotFoundException: Requested item could not be found
  Because we're not sending the folder name to _get_job_folder.

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1685575/+subscriptions

-- 
Mailing list: https://launchpad.net/~python-jenkins-developers
Post to     : python-jenkins-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~python-jenkins-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to