...
- Use environment variables that accept different values in target environments for
- File Order Sources
- Directories in file names
Code Block | ||
---|---|---|
| ||
<job_chain> <file_order_source directory="${file_input_dir}\input" regex=".*"/> ... </job_chain> |
...
- create a folder
include_files
(located parallely to thelive
folder) - create sub-folders for target environments, e.g.
dev
,int
andprod
. - create the same sub-folders for all target environments as in the development environment
live
folder - create the include files in the sub-folders for the target environments
- create a project archive that contains the folder
include_file
- create a working copy with the
import, delete
andcheckout
commands (see below). - When committing the
include_files
folder you should also commit thelive
folder (and vice versa) to guarantee consistency between both folders. - When deploying to the integration environment then export the
include_files/int
folder to the targetlive
folder. - When deploying to the production environment then export the
include_files/prod
folder to the targetlive
folder.
...