SVN Update Exception core.SVNException: svn: E200030: READONLY

Article ID:211985798
1 minute readKnowledge base

Issue

SVN fails to update project, showing error E200030:

ERROR: Failed to update MY_REMOTE_SVN_PROJECT_URL
...
org.tmatesoft.svn.core.SVNException: svn: E200030: READONLY
...

Resolution

This is related to a permission issue. Jenkins' user needs write permission for SVN to your project directory. Please check the permissions of your project directory.

To recursively change permissions to allow Jenkins to write to your project you can run:

sudo chown -R MY_JENKINS_USER:MY_JENKINS_GROUP MY_PROJECT

where MY_JENKINS_USER and MY_JENKINS_GROUP should be replaced with the user and group that you use for Jenkins and MY_PROJECT replaced with your project directory.

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.