Hi,

I'm trying to get information about running builds on Jenkins agents, with 
and without pipelines. 'Old-style' jobs show up just fine but pipelines 
only ever appear as placeholder tasks:

{
   "currentExecutable": {
     "_class": 
"org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask$PlaceholderExecutable"
   },
   "currentWorkUnit": {

    },
   "idle": false,
   "likelyStuck": false,
   "number": 1,
   "progress": 84
 }

I'm using Jenkins ver. 2.19.1 but, looking at the source code, I don't see 
any changes relating to this in later versions. I could be wrong about that 
of course.

Is this expected? Is there a way to make it behave differently? How does 
the /ajaxExecutors endpoint get its data?

If anyone can help then I'd really appreciate it.

Thanks,
Graham

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/fd71962c-56f2-48ac-92d3-fca5032171c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to