[JIRA] (JENKINS-59551) jCasC: enable colums for sectionedView

3 views
Skip to first unread message

maria.mueller@sap.com (JIRA)

unread,
Sep 26, 2019, 11:16:02 AM9/26/19
to jenkinsc...@googlegroups.com
Maria Mueller created an issue
 
Jenkins / New Feature JENKINS-59551
jCasC: enable colums for sectionedView
Issue Type: New Feature New Feature
Assignee: Timothy Bingaman
Attachments: image-2019-09-26-17-13-37-799.png
Components: sectioned-view-plugin
Created: 2019-09-26 15:15
Labels: configuration
Priority: Major Major
Reporter: Maria Mueller

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

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

maria.mueller@sap.com (JIRA)

unread,
Sep 26, 2019, 11:18:01 AM9/26/19
to jenkinsc...@googlegroups.com
Maria Mueller updated an issue
Change By: Maria Mueller
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}


 

 

o.v.nenashev@gmail.com (JIRA)

unread,
Sep 27, 2019, 8:04:02 AM9/27/19
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Labels: configuration jcasc-compatibility
Reply all
Reply to author
Forward
0 new messages