Home > Mobile >  How can I export a list of pipelines from Azure devops?
How can I export a list of pipelines from Azure devops?

Time:12-14

I am relatively new to Azure DevOps. I am documenting the pipelines that currently exist within Azure DevOps and there are hundreds of them. Is there a way to export the names of all of the pipelines and potentially any other information about them (like pipeline description or environment) into an excel or something similar? I have read only access. I have not been able to figure out an easy way to do this and I feel like there must be a better solution than manually copying them one by one.

I've looked through questions on stack overflow but none seemed to answer this specific question.

CodePudding user response:

REST

Depending on the technology you want to use you can use the for example the REST api of Azure DevOps, for YAML pipelines:

enter image description here

You could copy the output into an excel and filter your target info.

enter image description here

With the above pipeline ID, you could use this REST API: enter image description here

Repo info:

enter image description here

Environments related API are listed here

  • Related