-
Bug
-
Resolution: Fixed
-
Minor
-
None
As already discussed in https://groups.google.com/d/topic/job-dsl-plugin/hCOem65Gpa8/discussion:
Minmal example:
folder('foo') { primaryView 'bar' } listView("foo/bar") { jobs { regex '.*' } }
This is probably the simplest example of a folder, an additional listView in that folder, which SHOULD be set as the primary view in that folder. It works in testcases, generates the correct XML and is correct when run on a "fresh" Jenkins.
When run on a Jenkins instance where 'foo' already exists, the primary view is not updated...
- is related to
-
JENKINS-31308 Creating folder removes existing views within that
-
- Open
-
[JENKINS-48288] Can't change primaryView after Folder is generated
Description |
Original:
As already discussed in https://groups.google.com/d/topic/job-dsl-plugin/hCOem65Gpa8/discussion: Minmal example: {code:groovy} folder('foo') { primaryView 'bar' } listView("foo/bar") { jobs { regex '.*' } } {code} This is probably the simplest example of a folder, an additional listView in that folder, which SHOULD be set as the primary view in that folder. It works in testcases, generates the correct XML and is correct when run on a "fresh" Jenkins. When run on a Jenkins instance where 'foo' already exists, the primary view is not updated... |
New:
As already discussed in https://groups.google.com/d/topic/job-dsl-plugin/hCOem65Gpa8/discussion: Minmal example: {code:java} folder('foo') { primaryView 'bar' } listView("foo/bar") { jobs { regex '.*' } } {code} This is probably the simplest example of a folder, an additional listView in that folder, which SHOULD be set as the primary view in that folder. It works in testcases, generates the correct XML and is correct when run on a "fresh" Jenkins. When run on a Jenkins instance where 'foo' already exists, the primary view is not updated... |
Link | New: This issue is related to JENKINS-31308 [ JENKINS-31308 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |