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

CAN NOT get build number with jenkins API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • core
    • None

      when i build a jenkins job

      then

      open /queue/item/1484/api/json in chrome  can return 

      "executable":

      { "_class": "hudson.model.FreeStyleBuild", "number": 213, "url": "/job/ops-svn-update/213/" }

      but open/queue/item/1484/api/json with PHP API curl, NOT return

      "executable":

      { "_class": "hudson.model.FreeStyleBuild", "number": 213, "url": "/job/ops-svn-update/213/" }

       

      version:Jenkins ver. 2.138.1

       

            runzexia runze xia
            lifeblood shao dong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: