Process Flow - Disk space management
Start Jenkins Job
Check Disk Space
Is Disk Space < Threshold?
No→Continue Job
Yes
Clean Workspace and Old Builds
Re-check Disk Space
Enough Space?
No→Fail Job or Alert Admin
Yes
Continue Job Execution
This flow shows how Jenkins checks disk space before running jobs, cleans up if needed, and decides whether to continue or stop.