IBM / dbb-zappbuild

zAppBuild is a generic build solution for building z/OS applications using Apache Groovy build scripts and IBM Dependency Based Build (DBB) APIs.
Apache License 2.0
41 stars 141 forks source link

Ability to define the Db2 Connection Configuration via a CLI parm #511

Open dennis-behm opened 4 months ago

dennis-behm commented 4 months ago

When having test and production instances of zAppBuild that need to connect the Db2 Metadatastore, the user has to be able to set various db2Connection.conf properties depending on the runtime environment.

Today, the user has to pass the override via the --propFiles or the --propOverrides option.

This property should be allowed to be defined via a cli parameter: https://github.com/IBM/dbb-zappbuild/blob/a719842f8b9738133e375eaade8497289c30fc05/build-conf/build.properties#L138-L140