Skip to content

BuildTasks Task YAML

Richard Fennell edited this page Oct 25, 2018 · 11 revisions

BuildUpdating

The BuildUpdating package contains the following tasks. The table show the possible variables that can be used in YAML Azure DevOps Pipeline configurations

BuildRetensionTask

Set Retension on a Build

Variables

Name: mode

  • Description: Select the builds to update.
  • Type: pickList
  • Required: True
  • Default: Prime

Name: artifacts

  • Description: A comma separated list of artifacts
  • Type: string
  • Required: False
  • Default:

Name: usedefaultcreds

  • Description: If true will use the credentials of the running agent as opposed to access token provided by build service.
  • Type: boolean
  • Required: False
  • Default: False

Name: keepForever

  • Description: If true will set the build retension on the build
  • Type: boolean
  • Required: False
  • Default: True

BuildVariableTask

Set variable on a build defintion

Variables

Name: buildmode

  • Description: Select the builds to update (Used in Releases only).
  • Type: pickList
  • Required: True
  • Default: Prime

Name: artifacts

  • Description: A comma separated list of artifacts
  • Type: string
  • Required: False
  • Default:

Name: variable

  • Description: The name of the build variable to update
  • Type: string
  • Required: True
  • Default:

Name: mode

  • Description: Select the mode to operate in.
  • Type: pickList
  • Required: True
  • Default: Manual

Name: value

  • Description: The value of the build variable to update
  • Type: string
  • Required: True
  • Default:

Name: usedefaultcreds

  • Description: If true will use the credentials of the running agent as opposed to access token provided by build service.
  • Type: boolean
  • Required: False
  • Default: False
Clone this wiki locally