Skip to content

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

Notifications You must be signed in to change notification settings

BruceHaley/ExportPipelineDefinitions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 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.