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

API calls return 404 error when asking for JOB information. API returns data for non-Job information.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • call-remote-job-plugin
    • Windows Server 2008 R2 Enterprise SP1

      Jenkins version 1.543
      I can call the following API calls and always recieve data:
      http://111.206.111.154:8080/api/xml (or json)
      http://111.206.111.154:8080/computer/api/xml (or json)
      http://111.206.111.154:8080/user/123ABC/api/xml (or json)

      but anytime that I call for JOB information, regardless of the job, I always get a (404) Not Found error. However I can copy & paste that same address in a browser and it will display information everytime.
      Example:
      http://111.206.111.154:8080/job/myJob/api/xml
      http://111.206.111.154:8080/job/myJob/lastBuild/api/xml
      http://111.206.111.154:8080/job/myJob/123/api/xml
      http://111.206.111.154:8080/job/anotherJob/api/xml

      Any help will be appreciated.

        1. APIAccess.java
          0.6 kB
        2. JenkinsAccess.cs
          0.5 kB
        3. JenkinsApiCallsC#.doc
          148 kB
        4. JenkinsApiCallsCsharp.doc
          148 kB
        5. JenkinsApiCallsPowerShell.doc
          290 kB
        6. Subcode.txt
          680 kB
        7. UCRA.txt
          163 kB

            ukiuni takeshi ito
            billwilliams Bill Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: