Skip to content

Patch XML Files

Adrien Siffermann edited this page Aug 4, 2016 · 3 revisions

Icon

With this task, you can patch XML files using XPath and JSON patch syntaxes.

Add the task to your Build or Release Definition

Add-Tasks

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

Configuration

Configure-XmlPatch

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 files. Example: config*.xml
  • Xml Namespaces (As a Json map) - Xml namespaces as a json map.
  • Patch Content - Patch content.
  • Output patched file in logs - Output patched file in logs

Clone this wiki locally