You can use the Incremental DataStage Deployment task to deploy an entire directory of ISX files to an existing DataStage Project. Functionally, this is the equivalent of deleting everything from the existing project, importing all ISX files, provisioning all QualityStage rules and compiling all Jobs, Sequence, Server Routines and BuildOps. However, the task will minimize the deployment time by performing as few operations based on the content of the existing project.Properties Configuration Task to substitute variables in config files with environment specific values for deployment/build.
Info | ||
---|---|---|
| ||
This task is available after installing the MettleCI - DataStage Deployment Plugin (dm-dsdeploy-plugin DataMigrators - Bamboo Properties Configuration Plugin (dm-bamboo-properties-config-plugin-<version>.jar) |
To configure an
...
Properties Configuration Task
Steps
- Navigate to the Tasks configuration tab for the job (this will be the default job if creating a new plan).
- Click the name of an existing Incremental DataStage Deployment taskProperties Configuration Task, or click Add Task and then search 'Datastage' to easily locate the Incremental DataStage Deployment task type, in order to create a new task.
Complete the following settings:
SaveClickTask Description A description of the task, which is displayed in Bamboo. Disable this task Check, or clear, to selectively run this task. Executable From the pulldown list, choose a 'Datastage Capability' Domain Enter the Domain of the Datastage instance (Host Name of the Services Tier) Server Enter the Server of the Datastage instance (Host Name of the Engine Tier) Username Enter the Datastage Username Password Enter the Datastage Password Project name DataStage Project containing assets to be exported Root ISX Directory Optional: Root directory containing ISX files to deploy
If no value is specified, the agents working directory will be used
Max Threads The number of threads that should be used during compilation Parse compilation logs Deploy Parameter Sets If checked, a directory containing parameter set value files will be deployed. Parameter Set Directory Required if previous option is checked.
Specifies a directory of parameter set value files. This should match the format found on your DataStage Engine under ${DSHOME}../Projects/${Project Name}/ParameterSets directory
Base Directory A relative path from the working directory to the root directory of configuration file(s). This path will be the root of file patterns. File Patterns Relative paths to different configuration files from the base directory (wild card is acceptable). Each line is one pattern.
Examples:
*.apt
DSParams
Parameter Sets/*/*Override File A relative path from the working directory to the override file, which is a Java properties file. This file must contains all variables' values. Output Directory A relative path from working directory to write all filled configuration files to (all relative path from the base directory will be preserved. If output directory is the same as base directory, all original configuration files will be replaced. - Click Save