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

Merge same instance of section into itself

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Collapsing plugin version 1.7.0
      Jenkins 2.107.3
      Linux server

      I can't seem to figure out a way to collapse repeated GCC lines from a makefile. The use-case is that I want to collapse all the command-line output from make until a build failure into 1 section. The best I've found is to have something like:

      Section name: GCC compilation

      Section starts with: "^.gcc ."

      Section ends with: ".*"

      Collapse only one level per ending string: True

      However this still ends up creating a huge amount of sections & randomly nests them within each other. It would be nice to have an option that merges all instances of this section (i.e. disallow nesting of the section within itself & merge all siblings).

       

      So that instead of

      1. Running make

      1.1 Gcc compilation

          1.2 Gcc compilation

          1.3 Gcc compilation

                1.4 Gcc compilation

                1.5 Gcc compilation

          1.6 Gcc compilation

      2. Running make

      2.1 Gcc compilation

          2.2 Gcc compilation

          2.3 Gcc compilation

                2.4 Gcc compilation

                2.5 Gcc compilation

          2.6 Gcc compilation

      It should look like:

       

      1. Running make

          1.1 Gcc compilation

      2. Running make

          2.1 Gcc compilation

            Unassigned Unassigned
            vlovich Vitali Lovich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: