Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/BruceHaley/ExportPipelineDefinitions

Export all Azure DevOps pipeline definitions so they can be searched globally
https://github.com/BruceHaley/ExportPipelineDefinitions

azure azure-devops definition-pipeline devops global-search indexer pipeline search tool

Last synced: 3 months ago
JSON representation

Export all Azure DevOps pipeline definitions so they can be searched globally

Awesome Lists containing this project

README

        

# Azure DevOps Pipelines Search Setup Tool
This app makes all your Azure DevOps pipelines globally searchable by exporting them as JSON and YAML files to your local drive.

## Benefits:
- Lets you search all pipeline definitions across all projects at once.
- Lets you build a pipeline history archive by running this app periodically.
- Creates a spreadsheet with pipeline names and their projects.
- Lists pipeline call hierarchies to the console in Markdown format.

## How to search:

Once the export is complete, use "Find in Files" in Visual Studio, VS Code, or other search tool.

## How it works:

The app finds all pipelines in all projects to which you have access in your organization.
It saves classic pipelines as .json files and YAML pipelines as .yml files. Files are organized by project hierarchically in a folder tree on your local drive.
(Note: The .json files are not importable using [Import a pipeline](https://docs.microsoft.com/en-us/azure/devops/pipelines/get-started/clone-import-pipeline?view=azure-devops&tabs=classic#export-and-import-a-pipeline) in ADO.)

If you manage a large number of ADO pipelines, **you need this app.**

## Quickstart
1. Go to [releases](../../releases). Click-to-download the .exe, .config, and .dll files. Put them together in a folder.
1. Edit the .config file and set the four values as needed: azurePersonalAccessToken, githubPersonalAccessToken, organization, and outputPath.
See description in [ExportPipelineDefinitions/Program.cs](https://github.com/BruceHaley/ExportPipelineDefinitions/blob/master/ExportPipelineDefinitions/Program.cs#L28) starting on line 28.
1. Run ExportPipelineDefinitions.exe.