Skip to content
Jesse Houwing edited this page Apr 4, 2016 · 1 revision

This task, "Update Gated Changes" is a bit of a special case. It works in conjunction with the Gated Build support for TFVC in TFS 2015 update 2 and Visual Studio Team Services. It allows you to update the gated changes with additional changes in the local workspace prior to them being checked in.

This has some advantages in terms of the code in source control matching the artifacts of the build. The changes are checked in "on behalf of" the person that triggered the gated checkin.

Configuration

  • Files to update - specify one or more paths, separated by ; or newline. While wildcards (?, *) are supported, they're not the same as the minimatch patterns used by other build task and do not support the recursive wildcard **.

    Example: $/MyTeamproject/Main/AssemblyInfo.cs

  • Recursion - controls whether you'll be adding just the current folder/file (None), one level below the selected path (One Level) or all levels below the selected path (Full).
  • Skip non-gated builds - will skip the task when the build is not a gated build. Alternatively the task will raise an error.

Auto-detect changes

  • Edits - Are always detected and this cannot be turned off.
  • Adds - Scans for added files in the workspace and adds that change to the list of pending changes.
  • Deletes - Scans for deleted files in the workspace and adds that change to the list of pending changes.
Clone this wiki locally