RDTK / generator

A tool for creating Jenkins jobs and other things from recipes describing software projects
GNU General Public License v3.0
21 stars 3 forks source link

New tag "groups" to allow scoping of variables within a single file #28

Open rhaschke opened 5 years ago

rhaschke commented 5 years ago

As discussed in today's meeting, it would be great to have a groups tag in distribution files:

variables:
  foo: bar

groups:
  - variables:
      foo: foo
    includes:
    projects:

  - variables:
      foo: foo
    includes:
    projects:

includes:
  name: foo
  parameters:
    foo: foobar

projects:

Whether or not the groups tag should be hierarchical, i.e. allow groups below groups, is to be decided on the effort to implement this feature :wink: