Reputation: 3586
As you can see the following screenshot. I was able to view the whole YAML content for the whole Pipeline settings before. Recently, I was not able to see it. The View YAML link become GRAY now.
I tried to delete everything in my pipelines. The View YAML still not shown.
Is this feature broken or something? How can I enable this?
Upvotes: 0
Views: 482
Reputation: 76660
How to generate YAML from Pipeline on Azure Pipelines
Indeed, this is an issue, which already reported by other user a few days ago.
Ticket: "View YAML" button is disabled
And Daniel A. Schilling also provided a workaround for this issue:
- Install the "React Developer Tools" Chrome extension.
- Navigate to your build definition in Chrome.
- Press F12 to open Developer Tools.
- Switch to the React tab of DevTools.
- Click the target icon (tooltip is "Select a React element in the page to inspect it")
- Click the disabled "View YAML" button.
- In the React tab - select the CustomizedActionButton that is inside the div.
- In the right-hand "Props" panel, de-select the "disabled" checkbox.
- The "View YAML" button should now be enabled. Click it.
Besides, what I would like provide a another simple workaround:
Click other tab (like Variables, Triggers and so on), then click Agent job task or other task. Now, that View YAML link become available:
Hope this helps.
Upvotes: 3