AZ-400 ยท Maintaining pipelines
Migrating classic pipelines to YAML
Classic build and release pipelines vs YAML, export to YAML, task group to template mapping, stages for release environments, migration path and pitfalls.
Key points
- Classic build pipelines (designer): Export to YAML in the definition view, not a run.
- Classic release pipelines: no full export; rebuild as stages, export tasks one by one.
- Mapping: release stage to YAML stage, task group to template, environment approvals to checks.
- Pitfalls: redefine classic UI variables; YAML cron uses UTC, classic the organization time zone.
- Benefits: source control, PR review, caching support.
Practice questions
Which kind of classic pipeline supports the Export to YAML option?
- Classic build pipelines made in the designer
- Classic release pipelines with several stages
- Task groups on their own
- Individual pipeline runs
Show answer
Answer: A. Classic build pipelines made in the designer
Only classic build pipelines created with the designer can be exported to YAML. Classic release pipelines do not support YAML export.
Which tasks belong on your checklist when moving a classic pipeline to YAML?
- Redefine variables that were set in the classic UI
- Review cron schedules because YAML uses UTC
- Export release tasks individually and rebuild stages in YAML
- Expect all classic variables to appear in YAML automatically
- Expect a classic release to export as one multi-stage file
Show answer
Answer: A. Redefine variables that were set in the classic UI, B. Review cron schedules because YAML uses UTC, C. Export release tasks individually and rebuild stages in YAML
Variables defined in the classic UI must be redefined, cron schedules must be reviewed because of UTC, and classic releases have to be rebuilt by exporting tasks individually. Nothing is migrated silently, and secrets are not carried over for you.
A classic release pipeline can be exported to a complete multi-stage YAML pipeline with the Export to YAML command.
Show answer
Answer: False
False. Classic release pipelines do not support YAML export; you export each task individually and build the stages yourself.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
