Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geekzter/azure-devops-scripts
Azure DevOps scripts
https://github.com/geekzter/azure-devops-scripts
azure-boards azure-devops azure-devops-pipelines azure-pipelines azure-pipelines-agent azure-pipelines-tasks powershell
Last synced: about 2 months ago
JSON representation
Azure DevOps scripts
- Host: GitHub
- URL: https://github.com/geekzter/azure-devops-scripts
- Owner: geekzter
- License: mit
- Created: 2022-12-02T09:53:07.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-26T16:51:30.000Z (9 months ago)
- Last Synced: 2024-04-27T09:53:11.511Z (9 months ago)
- Topics: azure-boards, azure-devops, azure-devops-pipelines, azure-pipelines, azure-pipelines-agent, azure-pipelines-tasks, powershell
- Language: PowerShell
- Homepage:
- Size: 50.8 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure DevOps Scripts
[![Build Status](https://dev.azure.com/ericvan/PipelineSamples/_apis/build/status%2Fagent%2Fget-agent-version?branchName=main&label=agent-version)](https://dev.azure.com/ericvan/PipelineSamples/_build/latest?definitionId=207&branchName=main)
[![Build Status](https://dev.azure.com/ericvan/PipelineSamples/_apis/build/status%2Ftasks%2Fdeprecated-task-usage?branchName=main&label=deprecated-tasks)](https://dev.azure.com/ericvan/PipelineSamples/_build/latest?definitionId=242&branchName=main)This repository contains a few [PowerShell](https://github.com/PowerShell/PowerShell) scripts that use the [Azure DevOps REST APIs](https://learn.microsoft.com/rest/api/azure/devops) and [Azure DevOps CLI](https://learn.microsoft.com/azure/devops/cli/?view=azure-devops) (the [Azure CLI](https://github.com/Azure/azure-cli) with [Azure DevOps extension](https://github.com/Azure/azure-devops-cli-extension)) to interact with Azure DevOps:
## General
- Retrieve organization information (e.g. `id`) with [get_organization.ps1](scripts/get_organization.ps1)
## Boards- Validate whether backlog order honors dependencies with [validate_backlog_order.ps1](scripts/boards/validate_backlog_order.ps1)
## Pipelines
- Determine agent release for operating system & processor architecture with [get_agent_version.ps1](scripts/pipelines/get_agent_version.ps1)
- Install the agent using [install_agent.ps1](scripts/pipelines/install_agent.ps1)
- List build & release tasks with [list_tasks.ps1](scripts/pipelines/list_tasks.ps1)
- List deprecated Pipelines tasks and their usage with [list_deprecated_tasks.ps1](scripts/pipelines/list_deprecated_tasks.ps1)
This script is intended to be used from the [list-deprecated-tasks.yml](pipelines/list-deprecated-tasks.yml) pipeline## Scripts in other repositories
- The [azure-identity-scripts](https://github.com/geekzter/azure-identity-scripts#azure-devops) repository contains various [scripts](https://github.com/geekzter/azure-identity-scripts/tree/main/scripts/azure-devops) that interact with Azure Active Directory e.g. to manage Service Connections
- The [azure-pipeline-examples](https://github.com/geekzter/azure-pipeline-examples) repository contains YAML that covers some scripting examples e.g. handling [scripting errors](https://github.com/geekzter/azure-pipeline-examples/blob/main/suppress-script-error.yml)