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