Search code examples
cloudbeespaas

Environment specific global configuration parameters in CloudBees run@cloud


It is possible to set global configuration parameters with the bees config:set -ac account command, but is it somehow possible to also tell to which environment a global parameter is meant?

For example, I have 2 environments, production and demo. I would like to set database URI parameter to be same for all the app deployments to production environment and another value for it for the demo environment. I can of course set the parameter for each and every application separately, but I have many apps and it would be great having to set it only once as it is the same value for all apps deployed with the same environment.


Solution

  • configuration parameters are per application ID, not per account, so you can't get it set once for all your applications. Need to config:set all application you have deployed