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

Display more than 100 records in the workflow api

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • workflow-api-plugin
    • None

       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.

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

          Natesh Kukreja created issue -

            Unassigned Unassigned
            nateshkukreja Natesh Kukreja
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: