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

jCasC: enable colums for sectionedView

XMLWordPrintable

      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
      

       

       

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

              Created:
              Updated: