Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Use environment variables that accept different values in target environments for
    • File Order Sources
    • Directories in file names
       
Code Block
languagexml
<job_chain>
   <file_order_source directory="${file_input_dir}\input" regex=".*"/>
   ...
</job_chain>

...

  • create a folder include_files (located parallely to the live folder)
  • create sub-folders for target environments, e.g. dev, int and prod.
  • 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 and checkout commands (see below).
  • When committing the include_files folder you should also commit the live 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 target live folder.
  • When deploying to the production environment then export the include_files/prod folder to the target live folder.

...