Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68997

JobDSL nested views within a view

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • job-dsl-plugin
    • None
    • Jenkins version: Jenkins 2.289.1
      Job DSL plugin version : 1.77

      Two things -

      1. Creating nested views within a existing view(which is also a nested view).
      2. Basically it's always recreating all the views if it's nested. Isn't there an option to upend. Ex: leave existing views as is, create or update only sub nested view.

       

      Example: Product is a nested top view, within we have release level nested views. Followed nested view, section and then list view to organize our thousands of jobs.

       

      I have jobDSL seed job where I create Product view and followed by master works fine. But I also want to create release_1.0 view within same Product view it's just deleting master and creating release_1.0

       

      Product (top view) // nested view

      __>  master  // nested view

                     |__> pre-commit builds // section view

                                    |__> compile  // list view

                                    |__> sanity  // list view

                     |__> daily builds

                                    |__> compile  // list view

                                    |__> sanity  // list view

      __> release_1.0  // nested view

                     |__> pre-commit builds // section view

                                    |__> compile  // list view

                                    |__> sanity  // list view

                     |__> daily builds

                                    |__> compile  // list view

                                    |__> sanity  // list view

      __> release_2.0

                     |__> pre-commit builds

                                    |__> compile  // list view

                                    |__> sanity  // list view

                     |__> daily builds

                                    |__> compile  // list view

                                    |__> sanity  // list view

       

            daspilker Daniel Spilker
            ms4pujari Mallappa Pujari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: