-
Bug
-
Resolution: Duplicate
-
Major
-
None
This is a regression observed between Jenkins LTS 2.89.4 and LTS 2.107.2.
The version of the Job DSL plugin (1.69) is unchanged.
To reproduce:
1. Run the following Job DSL to create a folder and some sample views within that folder.
folder('/dir') { displayName('dir') } buildMonitorView('/dir/Test BMV') { jobs { regex('.*') } } listView('/dir/Test LV') { jobs { regex(".*") } }
2. Run the following Job DSL script on its own.
folder('/dir') { displayName('dir') }
Before the upgrade to Jenkins 2.107.2, this worked fine. Following the upgrade, step 2 destroys the views that were created in step 1.
- duplicates
-
JENKINS-31308 Creating folder removes existing views within that
-
- Open
-
[JENKINS-51035] Regression: Job DSL `folder('existing-folder')` creation destroys any views in that folder
Issue Type | Original: Improvement [ 4 ] | New: Bug [ 1 ] |
Description |
Original:
This is a regression observed between Jenkins LTS 2.89.4 and LTS 2.107.2. The version of the Job DSL plugin (1.69) is unchanged. To reproduce: # Run the following Job DSL to create a folder and some sample views within that folder. {{folder('/dir') \{}} {{ displayName('dir')}} {{}}} {{buildMonitorView('/dir/Test BMV') \{}} {{ jobs \{ regex('.*') }}} {{}}} {{listView('/dir/Test LV') \{}} {{ jobs \{ regex(".*") }}} {{}}} # Run the following Job DSL script on its own. {{folder('/dir') \{}} {{ displayName('dir')}} {{}}} Before the upgrade to Jenkins 2.107.2, this worked fine. Following the upgrade, step 2 destroys the views that were created in step 1. |
New:
This is a regression observed between Jenkins LTS 2.89.4 and LTS 2.107.2. The version of the Job DSL plugin (1.69) is unchanged. To reproduce: # Run the following Job DSL to create a folder and some sample views within that folder. {{}} {noformat} folder('/dir') { displayName('dir') } buildMonitorView('/dir/Test BMV') { jobs { regex('.*') } } listView('/dir/Test LV') { jobs { regex(".*") } }{noformat} {{}} # Run the following Job DSL script on its own. {{}} {noformat} folder('/dir') { displayName('dir') }{noformat} {{}} Before the upgrade to Jenkins 2.107.2, this worked fine. Following the upgrade, step 2 destroys the views that were created in step 1. |
Description |
Original:
This is a regression observed between Jenkins LTS 2.89.4 and LTS 2.107.2. The version of the Job DSL plugin (1.69) is unchanged. To reproduce: # Run the following Job DSL to create a folder and some sample views within that folder. {{}} {noformat} folder('/dir') { displayName('dir') } buildMonitorView('/dir/Test BMV') { jobs { regex('.*') } } listView('/dir/Test LV') { jobs { regex(".*") } }{noformat} {{}} # Run the following Job DSL script on its own. {{}} {noformat} folder('/dir') { displayName('dir') }{noformat} {{}} Before the upgrade to Jenkins 2.107.2, this worked fine. Following the upgrade, step 2 destroys the views that were created in step 1. |
New:
This is a regression observed between Jenkins LTS 2.89.4 and LTS 2.107.2. The version of the Job DSL plugin (1.69) is unchanged. To reproduce: # Run the following Job DSL to create a folder and some sample views within that folder. {noformat} folder('/dir') { displayName('dir') } buildMonitorView('/dir/Test BMV') { jobs { regex('.*') } } listView('/dir/Test LV') { jobs { regex(".*") } }{noformat} # Run the following Job DSL script on its own. {noformat} folder('/dir') { displayName('dir') }{noformat} Before the upgrade to Jenkins 2.107.2, this worked fine. Following the upgrade, step 2 destroys the views that were created in step 1. |
Description |
Original:
This is a regression observed between Jenkins LTS 2.89.4 and LTS 2.107.2. The version of the Job DSL plugin (1.69) is unchanged. To reproduce: # Run the following Job DSL to create a folder and some sample views within that folder. {noformat} folder('/dir') { displayName('dir') } buildMonitorView('/dir/Test BMV') { jobs { regex('.*') } } listView('/dir/Test LV') { jobs { regex(".*") } }{noformat} # Run the following Job DSL script on its own. {noformat} folder('/dir') { displayName('dir') }{noformat} Before the upgrade to Jenkins 2.107.2, this worked fine. Following the upgrade, step 2 destroys the views that were created in step 1. |
New:
This is a regression observed between Jenkins LTS 2.89.4 and LTS 2.107.2. The version of the Job DSL plugin (1.69) is unchanged. To reproduce: *1.* Run the following Job DSL to create a folder and some sample views within that folder. {noformat} folder('/dir') { displayName('dir') } buildMonitorView('/dir/Test BMV') { jobs { regex('.*') } } listView('/dir/Test LV') { jobs { regex(".*") } }{noformat} *2.* Run the following Job DSL script on its own. {noformat} folder('/dir') { displayName('dir') }{noformat} Before the upgrade to Jenkins 2.107.2, this worked fine. Following the upgrade, step 2 destroys the views that were created in step 1. |
Description |
Original:
This is a regression observed between Jenkins LTS 2.89.4 and LTS 2.107.2. The version of the Job DSL plugin (1.69) is unchanged. To reproduce: *1.* Run the following Job DSL to create a folder and some sample views within that folder. {noformat} folder('/dir') { displayName('dir') } buildMonitorView('/dir/Test BMV') { jobs { regex('.*') } } listView('/dir/Test LV') { jobs { regex(".*") } }{noformat} *2.* Run the following Job DSL script on its own. {noformat} folder('/dir') { displayName('dir') }{noformat} Before the upgrade to Jenkins 2.107.2, this worked fine. Following the upgrade, step 2 destroys the views that were created in step 1. |
New:
This is a regression observed between Jenkins LTS 2.89.4 and LTS 2.107.2. The version of the Job DSL plugin (1.69) is unchanged. To reproduce: *1.* Run the following Job DSL to create a folder and some sample views within that folder. {noformat} folder('/dir') { displayName('dir') } buildMonitorView('/dir/Test BMV') { jobs { regex('.*') } } listView('/dir/Test LV') { jobs { regex(".*") } }{noformat} *2.* Run the following Job DSL script on its own. {noformat} folder('/dir') { displayName('dir') }{noformat} Before the upgrade to Jenkins 2.107.2, this worked fine. Following the upgrade, step 2 destroys the views that were created in step 1. |
Link | New: This issue duplicates JENKINS-31308 [ JENKINS-31308 ] |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |