Versions Compared

Key

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

...

Task Description

A description of the task, which is displayed in Bamboo.

Disable this task

Check, or clear, to selectively run this task.

Base Directory

Optional: A relative path from the working directory to the root directory of configuration file(s). This path will be the root of file patterns. If not specified, the agent working directory will be used.

File Patterns

Relative paths to different configuration files from the base directory (wild card is acceptable). Each line is one pattern.  Examples could include … 

Code Block
*.apt
DSParams
Parameter Sets/*/*

Override File

Optional: A relative path from the working directory to a Java properties file containing variable values to be used during substitution.  

Output Directory

Optional: 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.  If not specified, the agent working directory will be used.

...

Using the Properties Configuration Task in a YAML pipeline

Code Block
languageyaml
- mci-properties-configuration:
    baseDir: datastage
    filePatterns: |-
      *.apt
      DSParams
      Parameter Sets/*/*
    outputDir: config
    overrideFile: var.${bamboo.EnvironmentID}
    description: Substitute parameters in DataStage configuration file