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

'currentExecutable' field is empty when querying for executors

      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>/"}

      }

          [JENKINS-47815] 'currentExecutable' field is empty when querying for executors

          Daniel Beck added a comment -

          This is specific to virtual pipeline executions (not the entire pipeline, but a "part").

          Daniel Beck added a comment - This is specific to virtual pipeline executions (not the entire pipeline, but a "part").

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

              Created:
              Updated: