SVN Checkout Error in Jenkins : E200030 : BUSY

Hey all,

You might come across this error while trying to setup a fresh CI pipeline on Jenkins with SVN as repository :-

Caused by: org.tmatesoft.svn.core.SVNException: svn: E200030: BUSY

SVN E200030 BUSY

Solution :-

Check if the root folder of the job has a .svn folder(which is hidden). Delete this folder & try to checkout once again. This should solve your problem. Basically this .svn folder has some svn keys/credentials stored temporarily. These might come in conflict with some other keys which are already used on the machine for other purposes.

There is also a useful plugin which is available on Jenkins which is used in all of my jobs to solve this issue – The ‘Workspace Cleanup Plugin’. More info available @ https://wiki.jenkins-ci.org/display/JENKINS/Workspace+Cleanup+Plugin

Hope this post helps!

Regards,

VJ

Jenkins Error : SVN Checkout Error || java.io.IOException || java.nio.file.FileSystemException

Beginner Level Users of Jenkins might face a common svn checkout error time and again like this :-

SVN_Error_Jenkins

On seeing the console… you find the following error message – “The process cannot access the file because it is being used by another process.”. As far as my understanding goes this error is caused due to the .svn folder(which is hidden) created during checkout. We need to ensure that this folder is deleted before checkout or we need to ensure that the workspace itself is deleted completely before a fresh checkout. I employ the second option.

For this install a Jenkins plugin named ‘Workspace Cleanup Plugin’.

After installing this plugin go to Configure> Build Enivironment > Check ‘Delete workspace before build starts’ option.

Another thing you have to do is to set SVN to ‘Always checkout a fresh copy’ option

Hence the next time your job starts the workspace will be cleaned, and a fresh svn checkout happens. You will never encounter this error again.

All the best!

Regards,

VJ