make cleanup stage to fail on error
@@ -251,7 +251,7 @@ steps:
echo "Setting tags back to free"
az resource tag --tags 'freeforpipeline=true' -g $(AKS_CLUSTER_RG) -n $(chosenclustername) --resource-type Microsoft.ContainerService/managedClusters
workingDirectory: '$(System.DefaultWorkingDirectory)'
- failOnStandardError: false
+ failOnStandardError: true
displayName: Deploy to AKS - Clean up deployment and release cluster back to free pool
- task: Docker@2
