About This Page
This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.
Bias Analysis
Bias Types:
⚠️
windows_first
⚠️
missing_linux_example
⚠️
windows_tools
Summary:
The documentation exclusively provides examples using Windows-centric paths (e.g., C:\Workspaces), and references to PowerShell tasks, without any mention of Linux or cross-platform equivalents. There are no examples or guidance for Linux-based Dev Boxes or customization tasks, and all directory and command patterns are Windows-specific.
Recommendations:
- Add parallel Linux examples, including directory paths (e.g., /home/dev/Workspaces) and shell commands (e.g., Bash).
- Explicitly mention support for Linux-based Dev Boxes if available, and provide YAML examples that use Linux images and tasks.
- Clarify whether the built-in tasks (like git-clone) are cross-platform, and if so, show usage in both Windows and Linux contexts.
- Avoid using only Windows-specific tools or patterns (like PowerShell) in examples; include Bash or other common Linux shells where appropriate.
- State any platform limitations or differences in secret handling between Windows and Linux Dev Boxes.
Create pull request
Flagged Code Snippets
$schema: "1.0"
image: microsoftwindowsdesktop_windows-ent-cpc_win11-24H2-ent-cpc
tasks:
- name: git-clone
description: Clone this repository into C:\Workspaces
parameters:
command: MyCommand –MyParam '{{KEY_VAULT_SECRET_URI}}'
$schema: "1.0"
tasks:
- name: git-clone
description: Clone this repository into C:\Workspaces
parameters:
repositoryUrl: https://myazdo.visualstudio.com/MyProject/_git/myrepo
directory: C:\Workspaces
pat: '{{KEY_VAULT_SECRET_URI}}'
$schema: "1.0"
tasks:
- name: git-clone
description: Clone this repository into C:\Workspaces
parameters:
repositoryUrl: https://myazdo.visualstudio.com/MyProject/_git/myrepo
directory: C:\Workspaces
pat: '{{ado://YOUR_ORG_NAME}}'