$ -weight: 500;">curl -s "https://dev.azure.com/YOUR_ORG/_apis/distributedtask/packages/agent/linux-x64?top=1&api-version=3.0" \ -u :YOUR_PAT | grep "downloadUrl"
-weight: 500;">curl -s "https://dev.azure.com/YOUR_ORG/_apis/distributedtask/packages/agent/linux-x64?top=1&api-version=3.0" \ -u :YOUR_PAT | grep "downloadUrl"
-weight: 500;">curl -s "https://dev.azure.com/YOUR_ORG/_apis/distributedtask/packages/agent/linux-x64?top=1&api-version=3.0" \ -u :YOUR_PAT | grep "downloadUrl"
mkdir -p ~/azagent && cd ~/azagent
-weight: 500;">curl -fSL "DOWNLOAD_URL_FROM_ABOVE" -o vsts-agent-linux-x64-4.271.0.tar.gz
tar zxvf vsts-agent-linux-x64-4.271.0.tar.gz
./config.sh
mkdir -p ~/azagent && cd ~/azagent
-weight: 500;">curl -fSL "DOWNLOAD_URL_FROM_ABOVE" -o vsts-agent-linux-x64-4.271.0.tar.gz
tar zxvf vsts-agent-linux-x64-4.271.0.tar.gz
./config.sh
mkdir -p ~/azagent && cd ~/azagent
-weight: 500;">curl -fSL "DOWNLOAD_URL_FROM_ABOVE" -o vsts-agent-linux-x64-4.271.0.tar.gz
tar zxvf vsts-agent-linux-x64-4.271.0.tar.gz
./config.sh
-weight: 600;">sudo ./svc.sh -weight: 500;">install
-weight: 600;">sudo ./svc.sh -weight: 500;">start
-weight: 600;">sudo ./svc.sh -weight: 500;">status
-weight: 600;">sudo ./svc.sh -weight: 500;">install
-weight: 600;">sudo ./svc.sh -weight: 500;">start
-weight: 600;">sudo ./svc.sh -weight: 500;">status
-weight: 600;">sudo ./svc.sh -weight: 500;">install
-weight: 600;">sudo ./svc.sh -weight: 500;">start
-weight: 600;">sudo ./svc.sh -weight: 500;">status
trigger: - main pool: name: SelfHostedPool steps: - script: uname -a displayName: System Info - script: whoami displayName: Current User - script: df -h displayName: Disk Usage
trigger: - main pool: name: SelfHostedPool steps: - script: uname -a displayName: System Info - script: whoami displayName: Current User - script: df -h displayName: Disk Usage
trigger: - main pool: name: SelfHostedPool steps: - script: uname -a displayName: System Info - script: whoami displayName: Current User - script: df -h displayName: Disk Usage - Ubuntu 22.04 VM on Azure (Standard_D2s_v3)
- A custom agent pool called SelfHostedPool
- Azure Pipelines agent v4.271.0 installed as a system -weight: 500;">service
- A test pipeline that confirmed everything was working - Agent Pools: Read and Manage
- Build: Read and Execute - Type: Self-hosted
- Name: SelfHostedPool
- Grant access to all pipelines: checked