Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51729

Getting "jenkinsapi.custom_exceptions.UnknownJob:" exception during python jenkins api call

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Component/s: _unsorted
    • Labels:
      None
    • Similar Issues:

      Description

      Hi Team,

      I am getting this "jenkinsapi.custom_exceptions.UnknownJob:" exception for my new Jenkins server during python-api call. but it is working for my old Jenkins server.

      build_metadata = self.server[job_name].get_build_metadata(build_no)

      New server version : 2.107.2 ,

      Old Jenkins server version : 1.59

      python version: 2.7.14

      build_metadata = self.server[job_name].get_build_metadata(build_no)

       

       

       

       

        Attachments

          Activity

          Hide
          shashikant shashikant Singh added a comment -

          Hi Oleg,

           

          Do you have any idea about this issue?

           

          Show
          shashikant shashikant Singh added a comment - Hi Oleg,   Do you have any idea about this issue?  
          Hide
          shashikant shashikant Singh added a comment -

          please reply 

          Show
          shashikant shashikant Singh added a comment - please reply 
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Python Jenkins is not a part of the Jenkins project.
          Maybe you want to report it to the OpenStack project: https://github.com/openstack/python-jenkins

          There is no Jenkins version like "1.59" (it would be Hudson version from pre-2008 if the version is correct). So it's hard to suggest here

          Show
          oleg_nenashev Oleg Nenashev added a comment - Python Jenkins is not a part of the Jenkins project. Maybe you want to report it to the OpenStack project: https://github.com/openstack/python-jenkins There is no Jenkins version like "1.59" (it would be Hudson version from pre-2008 if the version is correct). So it's hard to suggest here
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          No response from the reporter

          Show
          oleg_nenashev Oleg Nenashev added a comment - No response from the reporter

            People

            Assignee:
            oleg_nenashev Oleg Nenashev
            Reporter:
            shashikant shashikant Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: