Hi,
The least ugly thing I can think of is reading your configuration
properties from environment variables. So your build will use database
host from getenv('DB_MASTER_HOST') or '192.165.56.12' when variable not
present. You can actually move this higher at the level of configuration
files. Your build will use config_constant.php file unless stated
otherwise via env variable.
On developer machine no one will tell and you can provide different
configuration on CI. You can set those variables in shell build script
before running PHP or have them injected to job via job parameters.
--
oliver
--
You received this message because you are subscribed to the Google Groups "Jenkins
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.