Skip to content

Patch YAML Files

Sandor edited this page Oct 9, 2016 · 2 revisions

Icon

With this task, you can patch YAML files using JSON patch syntax.

Add the task to your Build or Release Definition

Add-Tasks

You will find the task in the "Utility" category.

Configuration

Configure-JsonPatch

General

  • Syntax type - The syntax used for the patch content. See documentation for more information.
  • Patch working directory - Working directory. Example: $(Build.SourcesDirectory)
  • Target files - Patch target file. Example: appsettings*.yaml
  • Patch Content - Patch content.
  • Output patched file in logs - Output patched file in logs