Azure DevOps HandBook !

Arun Kumar Singh
4 min readSep 9, 2020
DevOps

Azure DevOps is an offering from Microsoft which accelerate and simplify the DevOps process. This service comes with version control, reporting, requirements management, project management, automated builds, testing and release management capabilities. It covers the entire application life-cycle, and enables DevOps capabilities. In this post I am trying to cover some important points which can help you while working on pipelines. Before you start reading further I must warn you that this post expects basic knowledge of Azure DevOps pipeline.

Important Predefined variables -

Agent.BuildDirectory [Pipeline.Workspace] — The location on the agent pool machine where all folders for a given build pipeline are created.

Agent.TempDirectory — A temporary folder that is cleaned after each pipeline job. You can use to create some secure file and clean it up after that

Build.ArtifactStagingDirectory — Use it for publishing artifacts, This directory is purged before each new build

System.DefaultWorkingDirectory — As the name says default working dir

Build.BuildId or Build.BuildNumber choice is yours !

Container Jobs -

Sometimes it’s important to run Jobs on container. It will help you to reduce dependency…

--

--