Saturday, December 26, 2015

Clean Jenkins Cache

There are cases where we need to clear the Cache for jenkins when deploying a new installation. Though we remove the jenkins there are cases where previous installation details will be available that can cause issues while installation.

Here are the major locations where jenkins files will be installed

[root@vx111a Downloads]# rpm -ql jenkins

In order to remove the cache we need remove the following,

rm -rf /var/cache/jenkins/*
rm -rf  /var/lib/jenkins/*
rm -rf /var/log/jenkins/*

Once these locations are cleaned we can now perform a new installation with no previous cache

No comments :

Post a Comment