Skip to main content

DATASTAR: Update Build

Updates one or more builds by applying the properties in a JSON string. For example, to retain a build indefinitely:

{ "keepForever": true }

Inputs

Required inputs marked with *.

InputRequiredDescription
Project Name*YesThe Azure DevOps project name.
Json String*YesThe JSON body to apply to each build.
Build Ids*YesComma-separated list of build ids to update.

Advanced options

InputDescription
Repository UriThe Azure DevOps collection URI. Defaults to BUILD_REPOSITORY_URI.
Bearer TokenOptional OAuth token. Set to $(System.AccessToken) to use the pipeline's built-in token.
User NameUsed for basic auth. If set, Password must also be set.
PasswordBasic-auth password. Store as a secret variable.
Use Proxy ServerRoute the request through the agent's web proxy.
Proxy UriOverride the proxy URI.
Proxy Username / PasswordProxy credentials, if not using defaults.
Fail on Standard ErrorFail the task if anything is written to stderr.

Support

Report problems to support@absolute.technology.