Print disk usage (#20704)
* Print disk usage * Try again * Disk util part3 * dont look at /tmp * Remove max-depth * Add disk usage stats to all non-windows platforms * Disable Ubuntu quarantined test step * Apply suggestions from code review - Make thingies worky on macOS * Update .azure/pipelines/jobs/default-build.yml * Undo skip of qurantined test run * Update .azure/pipelines/jobs/default-build.yml - do not reference directory that doesn't exist * Update .azure/pipelines/jobs/default-build.yml - reduce noise in Mac disk utilization output Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
This commit is contained in:
parent
c16d3364d4
commit
3c1bd093e9
|
|
@ -134,6 +134,9 @@ jobs:
|
|||
- ${{ if in(variables['Build.Reason'], 'PullRequest') }}:
|
||||
- _SignType: test
|
||||
steps:
|
||||
- ${{ if ne(parameters.agentOs, 'Windows') }}:
|
||||
- script: df -h
|
||||
displayName: Disk size
|
||||
- checkout: self
|
||||
clean: true
|
||||
- ${{ if and(eq(parameters.agentOs, 'Windows'), eq(parameters.isTestingJob, true)) }}:
|
||||
|
|
@ -202,6 +205,13 @@ jobs:
|
|||
|
||||
- ${{ parameters.afterBuild }}
|
||||
|
||||
- ${{ if eq(parameters.agentOs, 'Linux') }}:
|
||||
- script: df -h && du -h --threshold=50MB ..
|
||||
displayName: Disk utilization
|
||||
- ${{ if eq(parameters.agentOs, 'macOS') }}:
|
||||
- script: df -h && du -h -d 3 ..
|
||||
displayName: Disk utilization
|
||||
|
||||
- ${{ if and(eq(parameters.agentOs, 'Windows'), eq(parameters.isTestingJob, true)) }}:
|
||||
- powershell: ./eng/scripts/FinishDumpCollectionForHangingBuilds.ps1 artifacts/dumps/
|
||||
displayName: Finish background dump collection
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue