Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

You can use Properties Configuration Task to substitute variables in config files with environment specific values for deployment/build. 

Task Availability

This task is available after installing the DataMigrators - Bamboo Properties Configuration Plugin

 (dm-bamboo-properties-config-plugin-<version>.jar)

To configure an Properties Configuration Task

Steps

  1. Navigate to the Tasks configuration tab for the job (this will be the default job if creating a new plan).
  2. Click the name of an existing Properties 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.
  3. Complete the following settings:

    Task DescriptionA description of the task, which is displayed in Bamboo.
    Disable this taskCheck, or clear, to selectively run this task.
    Base DirectoryA 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 FileA relative path from the working directory to the override file, which is a Java properties file. This file must contains all variables' values.
    Output DirectoryA 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. 
  4. Click Save

  • No labels