问题
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):
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?
回答1:
I also have the same problem for several projects on pipeline level:
Try to check the agent level. It may be available:
来源:https://stackoverflow.com/questions/54744207/convert-visual-build-pipeline-in-yaml-file