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

Variables not considered in version specification? #19

Closed rhaschke closed 5 years ago

rhaschke commented 5 years ago

build-generator version: 0.27.56

I was trying to use a variable in version specifications for projects in a distribution, like this:

variables:
  ros: ${next-value|melodic}
versions:
- xmlrpcpp @${ros}-devel

The final value of the variable was passed from cmdline via -D ros=kinetic. While --track-variable correctly reports kinetic as the used variable, the build-job-names generated, still show melodic (from the distribution default).