Azure / Azure/azure-sdk-tools

Update scripts and YML to use "Agent.OS" instead of custom variables like "OSVmImage"

Open
#5,494 3 comments 0 reactions 1 assignee Claimed by @konrad-jamrozik View on GitHub
Central-EngSys
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

I believe many of our scripts and YML use custom variables like `OSVmImage` to detect operating system. However, I think it might be better to use the built-in variable `Agent.OS` instead.

![image](https://user-images.githubusercontent.com/9459391/219535137-b9350040-ba2e-45ce-9a93-1d3976c9e1a2.png)

https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml#agent-variables-devops-services

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.