Skip to content

[JENKINS-52522] Display more than 100 records in the workflow api #497

@jenkins-infra-bot

Description

@jenkins-infra-bot

 In general, we have a pipeline that generates 400+ stageFlowNodes. We have about 5 stages, each with a varying about of stageFlowNodes. In specific, we have a pipeline that spawns 48 parallel branches, each includes 8 steps, which show up as stageFlowNodes under a stage. 

Our issue here is that we cannot query the pipeline beyond the first 100 stageFlowNodes using the workflow api (wfapi/describe) - more specifically using http:////execution/node//wfapi/describe

Using this information, we are able to extract how long each test ran. 

I have been trying to find a way to query beyond the 100 stageFlowNodes, but have been unsuccessful - being able to see more than the first 100 would benefit us greatly.

The priority is a blocker as we have had to stop development because this issue is stopping us from extracting all the data. 

I am currently not aware of a pagination endpoint that can be used to display more results.

What we are requesting is more results be displayed by the API, specifically under the stageFlowNodes under each stage.


Originally reported by nateshkukreja, imported from: Display more than 100 records in the workflow api
  • status: Open
  • priority: Blocker
  • component(s): workflow-api-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 3
  • imported: 20260601-173816
Raw content of original issue

 In general, we have a pipeline that generates 400+ stageFlowNodes. We have about 5 stages, each with a varying about of stageFlowNodes. In specific, we have a pipeline that spawns 48 parallel branches, each includes 8 steps, which show up as stageFlowNodes under a stage. 

Our issue here is that we cannot query the pipeline beyond the first 100 stageFlowNodes using the workflow api (wfapi/describe) - more specifically using http://<jenkins_url>/<build_number>/execution/node/<stage_id>/wfapi/describe

Using this information, we are able to extract how long each test ran. 

I have been trying to find a way to query beyond the 100 stageFlowNodes, but have been unsuccessful - being able to see more than the first 100 would benefit us greatly.

The priority is a blocker as we have had to stop development because this issue is stopping us from extracting all the data. 

I am currently not aware of a pagination endpoint that can be used to display more results.

What we are requesting is more results be displayed by the API, specifically under the stageFlowNodes under each stage.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions