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

'currentExecutable' field is empty when querying for executors

XMLWordPrintable

      Querying for executor status and currentExecutable doesn't indicate the ongoing job on that executor like it used to show previously:

      https://<jenkins>/computer/api/json?tree=computer[offline,displayName,executors[currentExecutable[url]],oneOffExecutors[currentExecutable[url]]]

      {"currentExecutable":null}

      In previous versions (Jenkins ver. 1.651.3) the query also indicated the currently ongoing job:
      {"currentExecutable":

      {"url": "https://<jobURL>/"}

      }

            Unassigned Unassigned
            jenkinsuser_1 Cosmo Cosmo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: