azure devops pipeline predefined variables
Jonas Samuelsson
Posted on March 2, 2021
Azure DevOps provides a number of predefined variables.
Some of these are folders for your source files, artifacts, temp files, etc.
And some of these variables maps to the same value.
Here is a list of all the folder variables (on a window-2019 image):
Agent.BuildDirectory: D:\a\1
Agent.HomeDirectory: C:\agents\2.182.1
Agent.TempDirectory: D:\a\_temp
Agent.ToolsDirectory: C:\hostedtoolcache\windows
Agent.WorkFolder: D:\a
Build.ArtifactStagingDirectory: D:\a\1\a
Build.BinariesDirectory: D:\a\1\b
Build.Repository.LocalPath: D:\a\1\s
Build.SourcesDirectory: D:\a\1\s
Build.StagingDirectory: D:\a\1\a
Common.TestResultsDirectory: D:\a\1\TestResults
Pipeline.Workspace: D:\a\1
System.DefaultWorkingDirectory: D:\a\1\s
π πͺ π
π©
Jonas Samuelsson
Posted on March 2, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
azure The Ultimate Guide to Azure DevOps: Key Benefits for Software Development Projects
October 11, 2024