azure-devops-yaml-schema icon indicating copy to clipboard operation
azure-devops-yaml-schema copied to clipboard

Confused about workspace: clean guidance

Open blakeduffey opened this issue 1 year ago • 2 comments

There is a note on this page which says:

This definition is a supporting definition and is not intended for use directly in a pipeline. This article provides the YAML syntax for this supporting type, but does not show usage examples. For more information on using the definitions that this type supports, see the following definition links.

At a minimum I find this unclear. If this is intended for use in pipelines, what is it used for? Online references imply its use quite often for cleaning the build environment prior to each run.

If this is not intended for pipeline use, what is the preferred way of cleaning the build environment from a pipeline?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

  • ID: 7bb74d45-b48d-ea7b-492e-0526fc803e8e
  • Version Independent ID: 7bb74d45-b48d-ea7b-492e-0526fc803e8e
  • Content: workspace definition
  • Content Source: content/workspace.md
  • Service: azure-devops-pipelines
  • GitHub Login: @steved0x
  • Microsoft Alias: sdanie

blakeduffey avatar May 31 '23 15:05 blakeduffey