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

UI improvement for console log view - show beginning of log when skipping

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None

      When viewing a console log of builds - it is often useful to see the start of the log, and skip in the middle - not just skip from the start of the log. Such as to quickly see revision numbers, what agent it's building up, upstream jobs, etc.

      It would be nice if the 'skipped' view would show the first 20-40 lines of the file, then skip to wherever it picks up again.

      Even better would be to show the first and last 15-20 lines of build output from every build step, but that's likely a lot more complicated. Even better than that would be if it supported folding the output like teamcity (one of the few things I liked better about TC) - but that's just a pipe dream.

      First step - please modify the skipped log screen to show the beginning of the build log before skipping lines.

          [JENKINS-31207] UI improvement for console log view - show beginning of log when skipping

          Daniel Beck added a comment -

          Even better than that would be if it supported folding the output like teamcity (one of the few things I liked better about TC) - but that's just a pipe dream.

          You mean Collapsing Console Sections Plugin?

          Daniel Beck added a comment - Even better than that would be if it supported folding the output like teamcity (one of the few things I liked better about TC) - but that's just a pipe dream. You mean Collapsing Console Sections Plugin?

          Very cool! Thanks for that plugin pointer!

          Rest of request still stands though.

          Nathan Neulinger added a comment - Very cool! Thanks for that plugin pointer! Rest of request still stands though.

          Benjamin Buchfink added a comment - - edited

          The Collapsing Console Sections Plugin is good, but a little too much to configure. This should work out-of-the-box. So, it would still be nice, if Jenkins had folding for steps with long outputs. Or even foldable stages.

          Maybe you could add threshold settings, so everybody can adjust it to their needs.

          I think of something like this: stages with as little as 10 steps are expanded, while others show only the first 10 steps and have a "show X more steps" button.

          And steps with output lines of 10 or less are expanded at first, but when they have more there is also a button with "show 1000 more lines".

          On another note: It also would be great if there was a "table of contents" kind of side panel in console view which shows all stages and their steps. This would make it easy to jump to the correct position in the log.

           

          Benjamin Buchfink added a comment - - edited The Collapsing Console Sections Plugin is good, but a little too much to configure. This should work out-of-the-box. So, it would still be nice, if Jenkins had folding for steps with long outputs. Or even foldable stages. Maybe you could add threshold settings, so everybody can adjust it to their needs. I think of something like this: stages with as little as 10 steps are expanded, while others show only the first 10 steps and have a "show X more steps" button. And steps with output lines of 10 or less are expanded at first, but when they have more there is also a button with "show 1000 more lines". On another note: It also would be great if there was a "table of contents" kind of side panel in console view which shows all stages and their steps. This would make it easy to jump to the correct position in the log.  

            Unassigned Unassigned
            nneul Nathan Neulinger
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: