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

jCasC: enable colums for sectionedView

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hi everybody,

      I would like to configure a sectioned View on our Jenkins with the help of Jenkins Configuration as Code (jCasC). The following code:

       - sectioned:
       name: "test"
       sections:
       - listViewSection:
       alignment: CENTER
       includeRegex: ".*(master_).*"
       name: "test1"
       width: FULL
       - listViewSection:
       alignment: CENTER
       includeRegex: ".*(nightly_).*"
       name: "test2"
       width: FULL
      

      creates a view with the two sections containing the jobs, but the columns are not present, see image:

       

       

      When configuring manually, all default columns are selected and visible.

      The columns could be configured maybe like this:

       - sectioned:
       name: "test"
       sections:
       - listViewSection:
       columns:
       - "status"
       - "jobName"
       - "lastSuccess"
       - "lastFailure"
       - "lastDuration"
       alignment: CENTER
       includeRegex: ".*(master_).*"
       name: "test1"
       width: FULL
      

       

       

        Attachments

          Activity

          maria_mueller Maria Mueller created issue -
          maria_mueller Maria Mueller made changes -
          Field Original Value New Value
          Description Hi everybody,

          I would like to configure a sectioned View on our Jenkins with the help of Jenkins Configuration as Code (jCasC). The following code:
           - sectioned:
           name: "test"
           sections:
           - listViewSection:
           alignment: CENTER
           includeRegex: ".*(master_).*"
           name: "test1"
           width: FULL
           - listViewSection:
           alignment: CENTER
           includeRegex: ".*(nightly_).*"
           name: "test2"
           width: FULL

          creates a view with the two sections containing the jobs, but the columns are not present, see image:

          !image-2019-09-26-17-13-37-799.png!

           

           

          When configuring manually, all default columns are selected and visible.

          The columns could be configured maybe like this:

          - sectioned:
           name: "test"
           sections:
           - listViewSection:
           columns:
           - "status"
           - "jobName"
           - "lastSuccess"
           - "lastFailure"
           - "lastDuration"
           alignment: CENTER
           includeRegex: ".*(master_).*"
           name: "test1"
           width: FULL

           

           
          Hi everybody,

          I would like to configure a sectioned View on our Jenkins with the help of Jenkins Configuration as Code (jCasC). The following code:

          {code:java}
           - sectioned:
           name: "test"
           sections:
           - listViewSection:
           alignment: CENTER
           includeRegex: ".*(master_).*"
           name: "test1"
           width: FULL
           - listViewSection:
           alignment: CENTER
           includeRegex: ".*(nightly_).*"
           name: "test2"
           width: FULL
          {code}


          creates a view with the two sections containing the jobs, but the columns are not present, see image:

          !image-2019-09-26-17-13-37-799.png!

           

           

          When configuring manually, all default columns are selected and visible.

          The columns could be configured maybe like this:

          {code:java}
           - sectioned:
           name: "test"
           sections:
           - listViewSection:
           columns:
           - "status"
           - "jobName"
           - "lastSuccess"
           - "lastFailure"
           - "lastDuration"
           alignment: CENTER
           includeRegex: ".*(master_).*"
           name: "test1"
           width: FULL
          {code}


           

           
          oleg_nenashev Oleg Nenashev made changes -
          Labels configuration configuration jcasc-compatibility

            People

            Assignee:
            tbingaman Timothy Bingaman
            Reporter:
            maria_mueller Maria Mueller
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: