Random Musings

Sporadic thoughts on tech, economics, business, finance and trading

Download and Configure the Azure Pipelines Agent

, ,

Create the agent

PS C:\> mkdir agent ; cd agent
PS C:\agent> Add-Type -AssemblyName System.IO.Compression.FileSystem ; [System.IO.Compression.ZipFile]::ExtractToDirectory("$HOME\Downloads\vsts-agent-win-x64-4.248.0.zip", "$PWD")

Configure the agent

PS C:\agent> .\config.cmd

Optionally run the agent interactively

PS C:\agent> .\run.cmd