Skip to content

Commit 9a20b56

Browse files
author
Rami Bououni
committed
export
1 parent 7e00f11 commit 9a20b56

File tree

1 file changed

+12
-33
lines changed

1 file changed

+12
-33
lines changed

docs/pipelines/release/from-classic-pipelines.md

Lines changed: 12 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -48,53 +48,32 @@ Follow these steps to create a starter YAML pipeline, which you’ll later updat
4848

4949
:::image type="content" source="media/commit-save-run.png" alt-text="A screenshot displaying how to save and run a new yaml pipeline.":::
5050

51-
## Export your Classic pipeline
51+
## Export a Classic pipeline to YAML
5252

5353
1. Sign in to your Azure DevOps organization, and navigate to your project.
5454

5555
1. Select **Pipelines** > **Pipelines**.
5656

57-
1. Select your Classic pipeline definition, select the ellipses icon, and then select **Export to YAML**. Make sure you're in the pipeline definition view, not a specific run, to see the **Export to YAML** option.
57+
1. Find your Classic pipeline, select the ellipses (...) next to it, and then select **Export to YAML**. Make sure you're in the pipeline definition view, not a specific run, to see the **Export to YAML** option.
5858

59-
:::image type="content" source="media/export-yaml.png" alt-text="Screenshot of context menu, to export your pipeline to YAML.":::
59+
:::image type="content" source="media/export-yaml.png" alt-text="A screenshot displaying how to export a Classic pipeline to YAML.":::
6060

6161
1. Open the downloaded YAML file in your code editor.
6262

63-
1. If your YAML pipeline includes variables defined in the Classic UI, define the variables again in your pipeline settings UI or in your YAML file. For more information, see [Define variables](../process/variables.md).
63+
1. If your Classic pipeline used variables defined in the Classic UI editor, you’ll need to redefine them either in the YAML file or in the pipeline settings. See [Define variables](../process/variables.md) for more details.
6464

65-
1. Review any `cron` schedules in your YAML file. By default, `cron` schedules in YAML are in UTC. In Classic pipelines, they are in the organization's timezone. For more information, see [Configure schedules for pipelines](../process/scheduled-triggers.md).
65+
1. Review any `cron` schedules in your YAML file. YAML schedules use UTC by default, while Classic pipelines use your organization’s local time zone. See [Configure schedules for pipelines](../process/scheduled-triggers.md) for more details.
6666

67-
1. Use the Task Assistant to make any other changes to the YAML file. The Task Assistant is a pane on the right side of the screen, which helps you correctly create and modify YAML steps.
67+
1. Use the **Task Assistant** (the pane on the right side of the editor) to help you add or modify steps in your YAML file.
6868

69-
:::image type="content" source="media/task-assistant-yaml.png" alt-text="Configure your pipeline task with Task Assistant.":::
69+
:::image type="content" source="media/task-assistant-yaml.png" alt-text="A screenshot displaying how to configure pipeline tasks with the Task Assistant.":::
7070

71-
1. **Save and run** your pipeline.
71+
1. Select **Save and run** once you're done.
7272

73-
## Clean up resources
73+
## Related content
7474

75-
If you're not going to use this sample pipeline anymore, delete it from your project. Deletion is permanent and includes all builds and associated artifacts.
76-
77-
1. Select the ellipses (...) and select **Delete**.
78-
79-
2. Enter the name of your pipeline to permanently delete it, and then select **Delete**.
80-
81-
## FAQ
82-
83-
### Is there a task in YAML pipelines to create work items when there's a build failure?
84-
85-
YAML pipelines don't have a [Create work item on failure setting](../build/options.md#create-a-work-item-on-failure) like classic build pipelines. You have a couple of options for creating this functionality yourself.
86-
- You can use a script or PowerShell task and call the [REST API](/rest/api/azure/devops/pipelines/).
87-
- You can use Azure CLI to call [az boards work-item create](/cli/azure/boards/work-item#az-boards-work-item-create) in your pipeline. [See an example](../customize-pipeline.md#create-work-item-on-failure) of using the CLI to create a bug on failure.
88-
89-
## Next steps
90-
91-
Learn about the feature differences between YAML and Classic pipelines.
92-
93-
> [!div class="nextstepaction"]
94-
> [Use Azure Pipelines](../get-started/pipelines-get-started.md#feature-availability)
95-
96-
## Related articles
75+
- [YAML vs Classic Pipelines](../get-started/pipelines-get-started.md#feature-availability)
9776

9877
- [Customize your pipeline](../customize-pipeline.md)
99-
- [Learn YAML pipeline editor basics](../get-started/yaml-pipeline-editor.md)
100-
- [Define approvals and checks](../release/approvals/approvals.md)
78+
79+
- [YAML pipeline editor](../get-started/yaml-pipeline-editor.md)

0 commit comments

Comments
 (0)