A question related to Set "Automatically link new work in this build" at queue time in VSTS build. Is there a documented list of VSTS build "magic" variables (like Build.Clean, Build.SyncSources, System.Debug) etc.?
Asked
Active
Viewed 157 times
0
-
If the variables are not documented, we recommend you do not take a dependency on them. – Eddie Chen - MSFT Jun 25 '18 at 09:40
1 Answers
1
You are looking for Predefined variables of Build:
https://learn.microsoft.com/en-us/vsts/pipelines/build/variables?view=vsts&tabs=batch

Cece Dong - MSFT
- 29,631
- 1
- 24
- 39
-
This link does not say anything about Build.Clean or Build.SyncSources. – Alex I Jun 12 '18 at 06:35
-
-
I found the Build.SynSources one here. The answer was posted by @PatrickLu-MSFT. I wonder where he found it? – Scott Langham Jun 12 '18 at 08:34
-
-
https://stackoverflow.com/questions/46421482/is-it-able-to-ignore-disable-the-first-step-get-source-in-vnext-build/46422981#46422981 – Scott Langham Jun 12 '18 at 08:53
-
Actually, he mentions this blog https://blogs.msdn.microsoft.com/tfssetup/2017/09/25/disabling-get-sources-step-in-vnext-build/ – Scott Langham Jun 12 '18 at 08:55
-
There is no documentation lists `Build.SyncSources` variable, so there is a separate blog to introduce it. I have submitted a feedback on [this website](https://github.com/MicrosoftDocs/vsts-docs/issues/1039) to ask adding this variable on the [Predefined variables of Build](https://learn.microsoft.com/en-us/vsts/pipelines/build/variables?view=vsts&tabs=batch). – Cece Dong - MSFT Jun 13 '18 at 02:52
-
Build.SyncSources is just one of the variables. There is also Agent.Diagnostic. What I believe we need is a documentation for all of these variables. – Alex I Jun 13 '18 at 03:56
-
Please click `content feedback` on this website: https://learn.microsoft.com/en-us/vsts/pipelines/build/variables?view=vsts&tabs=batch#qa – Cece Dong - MSFT Jun 13 '18 at 04:02