BruceHaley / ExportPipelineDefinitions

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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 in ADO.)

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

Quickstart

  1. Go to releases. Click-to-download the .exe, .config, and .dll files. Put them together in a folder.
  2. Edit the .config file and set the four values as needed: azurePersonalAccessToken, githubPersonalAccessToken, organization, and outputPath. See description in ExportPipelineDefinitions/Program.cs starting on line 28.
  3. Run ExportPipelineDefinitions.exe.

About

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


Languages

Language:C# 100.0%