Required Variables During Queue

When starting our Release build (which ultimately denotes labels and versions of the change set), I want the variables to be delivered during the queues. For example 1.0.23below:

Queue build

Is there a way to set these variables as needed to complete the build?

Create variables

This new "vNext" build platform is incredibly complex for Google.

+6
source share
2 answers

The best I've come up with is adding a task as a first step in the first build phase, which checks to see if the required variables are set. If there are none, the assembly failed.

I use PowerShell for this:

if ([string]::IsNullOrWhitespace($env:Major)) { throw "Major not set" }

, , , .. . , , , , ( 14/15) , .

VSTS UserVoice " ".

+5

Source: https://habr.com/ru/post/1612287/


All Articles