Dcycle Blog

Erasing old builds on Jenkins to free up space

April 22, 2014

If you need to free up space on your Jenkins server and you don’t mind losing all your old build information, you can do this:

sudo rm -rf /var/lib/jenkins/jobs/MYJOBNAME/builds
sudo service jenkins restart
sudo apachectl restart