Azure-devops-docs: Please describe the workspace -> clean values

Created on 18 Oct 2018  Â·  4Comments  Â·  Source: MicrosoftDocs/azure-devops-docs

Anytime their is a set of valid values for a field can they be briefly described. Specifically my ask is for the workspace clean options.

workspace:
clean: outputs | resources | all # what to clean up after the job runs


Document Details

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

Pri1 devops-cictech devopprod doc-bug

Most helpful comment

resources: delete $(Build.SourcesDirectory) => _work1s
outputs: delete $(Build.BinariesDirectory) => _work1b
all: delete $(agent.builddirectory) => _work1

All 4 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

We totally need this documented.

@TingluoHuang it wasn't obvious to me (from reading the code) how the workspace clean options get mapped to the agent, or what each one does. Can you share, and then @steved0x can fix up the doc? The options are "outputs", "resources", and "all".

resources: delete $(Build.SourcesDirectory) => _work1s
outputs: delete $(Build.BinariesDirectory) => _work1b
all: delete $(agent.builddirectory) => _work1

Was this page helpful?
0 / 5 - 0 ratings