'Prevent Jenkins node from running out of disk space
I have four separate pipelines that all run on the same node. Recently, I've been getting errors that look like this:
Disk space is too low. Only 0.315GB left on /var/jenkins.
I've already reconfigured the pipelines to get rid of old logs and builds after 7 days. Aside from this, are there any plugins or shell commands I can run post-build to keep my disk space free?
Solution 1:[1]
I Have faced same issue with the one of the jenkins node
solution: Ssh to your slave and do this df -h, it will show disk info, and available space in /tmp and increase tmp size by
sudo mount -o remount /tmp
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Sanjay |
