I've been working with the visual designer for some time, but I read that we are encouraged to move to YAML. Is there a way to easily convert from visual designer to YAML?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Export the yaml from the visual designer using view yaml (on the far right of the edit screen) copy the yaml and then paste that into a new file in the root of the git repository with name azure-pipeline.yml
Is it also possible to convert release-pipelines, initially developed using the visual designer, to yaml, and keep this separate from the build-pipeline?
Regards,
R.
You can deploy from a YAML pipeline; some of our docs show examples of this. However, YAML pipelines don't have stages or approvals.
For designer builds, the "view YAML" button is the best bet.
As Andy said, we aren't quite there on feature parity for designer releases.
@RolfEleveld , @vtbassmatt
Does anyone know where the "View YAML" button went? I can't see it on the far right of the edit screen, or anywhere else for that matter.
@yannduran, open edit on the visual build pipeline and now for each step, select the step and you can see yam button right top.
@RolfEleveld, oh I see. You only see the YAML step-by-step, not for the whole pipeline. Thanks!
I was expecting something that allowed you to see the YAML for the whole pipeline. I mean you can export a whole pipeline to JSON, so it'd seem reasonable to expect that you could also see/export it to YAML, especially with the emphasis that's being placed on YAML now.
It's available at the Job level.
FYI soon will be possible to export an entire pipeline as YAML;
Most helpful comment
@RolfEleveld, oh I see. You only see the YAML step-by-step, not for the whole pipeline. Thanks!
I was expecting something that allowed you to see the YAML for the whole pipeline. I mean you can export a whole pipeline to JSON, so it'd seem reasonable to expect that you could also see/export it to YAML, especially with the emphasis that's being placed on YAML now.