iAmoric
iAmoric

Reputation: 1975

Convert visual build pipeline in yaml file

I'm working with Azure DevOps pipeline and I'm using the visual designer.

But there is also the YAML file. I would like to export my Build pipeline into a YAML file. It seems to be possible like mentionned in this Github issue (https://github.com/MicrosoftDocs/vsts-docs/issues/2504) using the View YAML button.

But this button is disable in my project (I cannot click on it):

enter image description here

I don't know how to enable it. The preview feature New YAML pipeline creation experience is enabled. I'm using some Task that are tagged as Preview. Can it be a reason?

Does someone know why it is disabled and how to enabled it?

Upvotes: 3

Views: 1399

Answers (2)

alv
alv

Reputation: 1097

FYI you will shortly be able to export the entire pipeline to YAML (the ability to export individual tasks will be removed);

Upvotes: 0

Shamrai Aleksander
Shamrai Aleksander

Reputation: 16133

I also have the same problem for several projects on pipeline level: enter image description here

Try to check the agent level. It may be available:

enter image description here

Upvotes: 6

Related Questions