Configure Subversion plugin in Jenkins to use 1.6 working copy

Frank Kusters picture Frank Kusters · Jun 25, 2012 · Viewed 15k times · Source

I use the Jenkins Subversion plugin to checkout a working copy in Jenkins. A separate SVN client is used to extract some information from this working copy (which branch was used, which revision, etc.).

The Subversion plugin creates a 1.7 working copy, which the other client can't handle (it is 1.6). Is there a way to configure the Subversion plugin to checkout a 1.6 working copy?

This question lists a way to configure the Subversion plugin: Hudson doesn't checkout using symlinks when using SVN (Subversion) So I started looking for all configuration options, and ended up on this page: http://svnkit.com/kb/user-guide-config-settings.html , but it is really incomplete.

Also I found this: http://wiki.svnkit.com/SVNKit_FAQ#Q:_Can_the_current_SVNKit_version_be_forced_to_create_pre-1.5_format_working_copies.3F , except that that property is ignored for new directories.

I cannot use Jenkins variables to extract the branch and revision information, because the same script must also be able to run outside Jenkins. Updating the separate client is also not possible, because we are working with 'frozen' software on build systems. If all else fails I could downgrade Jenkins, but that's not preferred.

Answer

malenkiy_scot picture malenkiy_scot · Jun 25, 2012

On main Jenkins configurations page (http:/<jenkins_server>/configure) search for Subversion Workspace Version and set it to appropriate value (1.6).