Currently it is possible to configure folders in JCasC using Groovy syntax via JobDSL. It would be cool if the Folders Plugin had a native configurator so that JCasC could configure objects using YAML definition. 

      Acceptance criteria:

      • There is a way to define folder structure using JCasC
      • It is possible to define folders and folder properties in YAML
      • It is possible to define ComputedFolders via JCasC (e.g. GitHub Org Folder)
      • Nice2have: The implementation allows configuring jobs inside folders in the future. Likely in YAML, see the examples for Pipeline in https://github.com/jenkinsci/simple-pull-request-job-plugin

       

       

          [JENKINS-58951] Add YAML Configurator for folders in JCasC

          Chris Kilding added a comment -

          This is potentially a prerequisite for JEP-225 (folders-based ACL for any credentials provider), as we'd like to specify the ACL declaratively in YAML, probably somewhere on the folders plugin config.

          Chris Kilding added a comment - This is potentially a prerequisite for JEP-225 (folders-based ACL for any credentials provider), as we'd like to specify the ACL declaratively in YAML, probably somewhere on the folders plugin config.

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: