Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins pipeline more rows in stage view

I have a Jenkins Pipeline and we are running and we have 14 different concurrent runs running at once. (waiting for a set period of time).

Only 12 rows are showing on the stage view. Is there a way to expand the stage view to see more rows?

like image 758
Eddie Avatar asked May 19 '17 18:05

Eddie


People also ask

How does Jenkins stage view?

When you run some builds, the stage view will appear with Checkout, Build, and Test columns, and one row per build. When hovering over a stage cell you can click the Logs button to see log messages printed in that stage: after the preceding stage step and before the next one.

Can you have multiple steps in a stage Jenkins?

Jenkins Pipeline allows you to compose multiple steps in an easy way that can help you model any sort of automation process. Think of a "step" like a single command which performs a single action. When a step succeeds it moves onto the next step. When a step fails to execute correctly the Pipeline will fail.


1 Answers

It comes a little late, but the answer is: add this parameter to the Jenkins Java VM (e.g. in /etc/default/jenkins):

-Dcom.cloudbees.workflow.rest.external.JobExt.maxRunsPerJob=32

So for instance

JAVA_ARGS="-Djava.awt.headless=true -Dcom.cloudbees.workflow.rest.external.JobExt.maxRunsPerJob=32"

(32 is the number of rows displayed after restarting Jenkins).

like image 185
Stefan Seidel Avatar answered Sep 18 '22 07:09

Stefan Seidel