0

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.?

Alex I
  • 2,078
  • 3
  • 18
  • 24

1 Answers1

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
  • Where did you find these variables? – Cece Dong - MSFT Jun 12 '18 at 06:50
  • 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
  • Can you provide the link? – Cece Dong - MSFT Jun 12 '18 at 08:36
  • 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