From 31ce29fbd778def5a783197786c3312ec6d67bb5 Mon Sep 17 00:00:00 2001 From: Brett Hewitson Date: Thu, 22 Dec 2022 00:52:07 +1000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- .azure/pipelines/azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.azure/pipelines/azure-pipelines.yml b/.azure/pipelines/azure-pipelines.yml index 971436ed..6df4b6ff 100644 --- a/.azure/pipelines/azure-pipelines.yml +++ b/.azure/pipelines/azure-pipelines.yml @@ -74,11 +74,11 @@ stages: throw "Multiple agents ($($agents.Count)) found with id: $agentId and name: $agentName" } - Write-Host 'Agent found' + Write-Host -ForeGroundColor Green 'Agent found' return $agents.Item(0) } - Write-Host 'Agent NOT found' + Write-Host -ForeGroundColor Yellow 'Agent NOT found' return $null } catch { @@ -103,7 +103,7 @@ stages: $count = $count + 1 } - Write-Host "Created $count AgentCapabilities.$capabilityType environment variables" + Write-Host -ForeGroundColor Cyan "Created $count AgentCapabilities.$capabilityType environment variables" } $AgentData = Get-AzureDevopsAgent -baseUri "$(System.CollectionUri)_apis" -accessToken $(System.AccessToken) -agentId $(Agent.Id) -agentName $(Agent.Name)