[JIRA] (JENKINS-57121) list view jobnames is missing getter and setter for jcasc compliance

51 views
Skip to first unread message

josephp90@gmail.com (JIRA)

unread,
Apr 19, 2019, 1:49:02 PM4/19/19
to jenkinsc...@googlegroups.com
Joseph Petersen created an issue
 
Jenkins / Bug JENKINS-57121
list view jobnames is missing getter and setter for jcasc compliance
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2019-04-19 17:48
Labels: jcasc-compatibility
Priority: Minor Minor
Reporter: Joseph Petersen

JCasC users want to configure list views yet sadly jobNames does not have a getter or setter making it improbable for JCasC to configure list views.

https://github.com/jenkinsci/jenkins/blob/2767b00146ce2ff2738b7fd7c6db95a26b8f9f39/core/src/main/java/hudson/model/ListView.java#L80

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

vxworxnl@gmail.com (JIRA)

unread,
May 10, 2019, 8:20:02 AM5/10/19
to jenkinsc...@googlegroups.com
Vi Pl updated an issue
Change By: Vi Pl
Attachment: image-2019-05-10-14-19-39-495.png

vxworxnl@gmail.com (JIRA)

unread,
May 10, 2019, 8:21:01 AM5/10/19
to jenkinsc...@googlegroups.com
Vi Pl commented on Bug JENKINS-57121
 
Re: list view jobnames is missing getter and setter for jcasc compliance

@Joseph Petersen

Are you sure this is a problem?
I managed to create a new list view with:

jenkins:
  primaryView:
    all:
      name: "all"
  views:
  - all:
      name: "all"
  - list:
      columns:
      - "status"
      - "weather"
      - "jobName"
      - "lastSuccess"
      - "lastFailure"
      - "lastDuration"
      - "buildButton"
      includeRegex: ".*"
      name: "test_view"

Jenkins version: 2.150.3
configuration-as-code-plugin: version: 1.14

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

unread,
May 20, 2019, 11:18:02 AM5/20/19
to jenkinsc...@googlegroups.com

josephp90@gmail.com (JIRA)

unread,
May 20, 2019, 1:31:02 PM5/20/19
to jenkinsc...@googlegroups.com

Does not work for jobNames Vi Pl your config uses includeRegex.

josephp90@gmail.com (JIRA)

unread,
May 20, 2019, 1:43:02 PM5/20/19
to jenkinsc...@googlegroups.com

josephp90@gmail.com (JIRA)

unread,
Jun 4, 2019, 1:17:03 PM6/4/19
to jenkinsc...@googlegroups.com

josephp90@gmail.com (JIRA)

unread,
Jun 4, 2019, 1:17:03 PM6/4/19
to jenkinsc...@googlegroups.com

josephp90@gmail.com (JIRA)

unread,
Jun 4, 2019, 1:17:04 PM6/4/19
to jenkinsc...@googlegroups.com
Joseph Petersen started work on Bug JENKINS-57121
 
Change By: Joseph Petersen
Status: Open In Progress

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

unread,
Jun 11, 2019, 7:28:02 AM6/11/19
to jenkinsc...@googlegroups.com
Oleg Nenashev updated Bug JENKINS-57121
 

The change was released in Jenkins 2.180. The change introduces new binary API, so it is not backportable

Change By: Oleg Nenashev
Status: In Review Resolved
Resolution: Fixed
Released As: Jenkins 2.180

josephp90@gmail.com (JIRA)

unread,
Mar 7, 2020, 1:07:21 AM3/7/20
to jenkinsc...@googlegroups.com
Joseph Petersen assigned an issue to Joseph Petersen
Change By: Joseph Petersen
Assignee: Joseph Petersen (old)
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages