When Jenkins is automatically built, java. io. IOException: No space left on device is returned,
In this case, the memory space of the server where Jenkins is located is insufficient. First, check the disk space usage on the server. The df-hT result is displayed, as shown in.
Check that the disk space is full and enter the Jenkins directory to view the Jenkins space usage du-sh.
It is found that the jobs directory of Jenkins occupies a large amount of space.
Solution 1: discard the history build record (recommended) and discard the history build record of your jenkins job configuration, which is configured according to your actual situation.
Solution 2 (stupid ):
Delete unnecessary records, view disk usage, and find the remaining disk space.
In this case, go to Jenkins to build.
PS: This method cannot fundamentally solve the problem