jenkinsci / jenkinsci/workflow-api-plugin

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

Open
#497 5 comments 0 reactions 0 assignees View on GitHub
component:workflow-api-plugin imported-jira-issue priority:blocker resolution:unresolved
Dominant language
Java
Stars
31
Forks
80
Avg merge
1d 16h
Merged PRs (30d)
1

Description

 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.