💚 Jenkins : copy default config after unattended install

The generated config file had too many default values, and not the wanted ones
This commit is contained in:
Pierre Goiffon
2019-11-26 12:08:55 +01:00
parent ff3c7ebe54
commit 443763de48

View File

@@ -2,5 +2,12 @@
set -x
chmod 666 conf/production/config-itop.php
cd toolkit
php unattended_install.php default-params.xml
php unattended_install.php --response_file=default-params.xml --clean=true
cd ..
chmod 666 conf/production/config-itop.php
cp toolkit/default-config-itop.php conf/production/config-itop.php
chmod 444 conf/production/config-itop.php