Today, I had a developer spend nearly half an hour telling me that the QA server magically broke itself. A server that has worked for well over a year, which he himself has used repeatedly, just up and broke itself.

Just a note: you committed it, you (most likely) have to fix it. Most of the code I get pushed to QA is usually not ready, and has some serious issues. In this case, its right back at ya.

So I’m running my Jenkins CI environment on a Amazon AWS EC2 M1.small, and since I went with the default install, the /var/lib/jenkins/jobs folder was rapidly filling up. I was down to 2% free disk space…woops!

So after some research, I decided the best solution was to symlink the jobs folder over to /mnt and move the jobs folder to /mnt

Commands follow:
/etc/init.d/jenkins shutdown
mv /var/lib/jenkins/jobs /mnt/jobs
rmdir /var/lib/jenkins/jobs (might not be needed)
ln -s /mnt/jobs/ /var/lib/jenkins/jobs
/etc/init.d/jenkins restart

This solved my problem, and fixed me up rickytick!

© 2012 Randoms from Blackberry Suffusion theme by Sayontan Sinha