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:
⚠️
powershell_heavy
⚠️
windows_tools
⚠️
missing_linux_example
⚠️
windows_first
Summary:
The documentation exclusively uses PowerShell scripts and Azure PowerShell tasks for all CI/CD automation examples, with no mention of Bash, Azure CLI, or cross-platform scripting alternatives. All sample code, instructions, and YAML pipeline tasks are PowerShell-centric, and there are no Linux-native or cross-platform examples provided. The documentation assumes the use of PowerShell Core but does not address Linux environments or provide parity for non-Windows users.
Recommendations:
- Provide equivalent examples using Azure CLI and Bash scripts for pre- and post-deployment automation, ensuring Linux users have clear guidance.
- Explicitly mention that PowerShell Core is cross-platform and provide instructions for running scripts on Linux agents.
- Include YAML pipeline examples that use AzureCLI@2 or Bash tasks alongside AzurePowerShell tasks.
- Reference or link to documentation on setting up Linux build agents and running deployment scripts in non-Windows environments.
- Clarify any limitations or differences when running the scripts on Linux versus Windows, and offer troubleshooting tips for Linux users.
Create pull request
Flagged Code Snippets
- task: AzurePowerShell@5
displayName: Stop ADF Triggers
inputs:
scriptType: 'FilePath'
ConnectedServiceNameARM: AzureDevServiceConnection
scriptPath: ../ADFTemplates/PrePostDeploymentScript.ps1
ScriptArguments: -armTemplate "<your-arm-template-location>" -ResourceGroupName <your-resource-group-name> -DataFactoryName <your-data-factory-name> -predeployment $true -deleteDeployment $false
errorActionPreference: stop
FailOnStandardError: False
azurePowerShellVersion: 'LatestVersion'
pwsh: True
workingDirectory: ../
- task: AzurePowerShell@5
displayName: Start ADF Triggers
inputs:
scriptType: 'FilePath'
ConnectedServiceNameARM: AzureDevServiceConnection
scriptPath: ../ADFTemplates/PrePostDeploymentScript.ps1
ScriptArguments: -armTemplate "<your-arm-template-location>" -ResourceGroupName <your-resource-group-name> -DataFactoryName <your-data-factory-name>-predeployment $false -deleteDeployment $true
errorActionPreference: stop
FailOnStandardError: False
azurePowerShellVersion: 'LatestVersion'
pwsh: True
workingDirectory: ../