Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show disk space remaining #5069

Open
mikeblakeuk opened this issue Dec 20, 2024 · 1 comment
Open

Show disk space remaining #5069

mikeblakeuk opened this issue Dec 20, 2024 · 1 comment

Comments

@mikeblakeuk
Copy link

Please display the actual size instead of % of diskspace

We don't know the disk size of the agents.

It would be nice to know if we need to free up 1MB or 1000MB instead of "5%"

https://github.com/microsoft/azure-pipelines-agent/blob/master/src/Agent.Worker/ResourceMetricsManager.cs#L355

eg
"Free disk space on / is lower than 1,000MB"

@aleksandrlevochkin
Copy link
Contributor

Hi @mikeblakeuk! This information is available in the agent worker logs and live pipeline console when the system.debug pipeline variable is enabled. It is output in the following format:

##[debug]Agent environment resources - Disk: C:\ Available 10.00 MB out of 1000.00 MB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants