Edit

Share via


workspace definition

Workspace options on the agent.

workspace:
  clean: outputs | resources | all # What to clean up before the job runs.

Note

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 and examples for using this supporting type, see the following Definitions that reference this definition articles.

Definitions that reference this definition: pipeline, jobs.job, jobs.deployment

Properties

clean string.
Which parts of the workspace should be cleaned before the run. Valid values are outputs, resources, or all.

For more information about workspaces, including clean options, see the workspace topic in Jobs.