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

Allow sub-directories for all recipe kinds #33

Closed scymtym closed 5 years ago

scymtym commented 5 years ago

Is your feature request related to a problem? Please describe.

It is sometimes convenient to place recipe files in sub-directories below the type-specific directories projects, templates, etc. This is not currently well supported.

Describe the solution you'd like

References to recipes in sub-directories such as

include:
  - sub-directory/name

versions:
  - sub-directory/name@version

in distribution recipes or

inherit:
  - sub-directory/name

in template recipes should work.

Note that this may lead to problems for project recipes since artifact names derived from project names (e.g. Jenkins job names, catalog file names, report file names) can now contain / characters.