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
@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
Same here, works for me
Does not work for jobNames Vi Pl your config uses includeRegex.
Please see the down stream PR: https://github.com/jenkinsci/configuration-as-code-plugin/pull/850/files#diff-d4180fbd418102ca8a2290ab285cb17c
The change was released in Jenkins 2.180. The change introduces new binary API, so it is not backportable