kiegroup / build-chain-configuration-reader

A javascript library to read build-chain tool configuration files
Apache License 2.0
2 stars 8 forks source link

Parameterized build command #82

Open andzuc opened 1 year ago

andzuc commented 1 year ago

Hi. It would be possible to use variable expansion in build.upstream, build.current, build.downstream ? The README is not mentioning this feature. In particular for GROUP, PROJECT and BRANCH so that it would be possible to pass current/upstream/downstream build project info to the build system.

shubhbapna commented 1 year ago

Hi, nope we don't have any variable substitution in build.upstead, build.current or build.downstream since these are user defined commands.

IMO its on the program that utilizes build-chain-configuration-reader information to handle such variable substitutions for all these commands. For example, we use this library for github-action-build-chain whose command executor handles env variable substitution