Cloud manager: Different FrontEnd parameters for Stage and Prod?
hi folks,
I'm moving to Cloud Manager. I know how to have different OSGI config files for stage, prod and dev.
But my ui.frontend Javascript also has different parameters for dev, stage and prod.
I can make put different npm build commands in the package.json.
However, in the POM file, I need to be able to use Profiles to have different commands for Prod and Stage.
However, I don't seem to be able to do that. Is there another way around this? There are some environment variables like PIPELINE_ID etc. Are there ones that will distinguish between Prod and Stage.?
How do people normally do it.
thanks
Fiona