posted Apr 18, 2012, 3:13 AM by Softhinker Qin
[
updated Apr 18, 2012, 7:18 AM
]
Up to Jenkins 1.460, its Subversion plugin 1.39 hasn't supported Subversion 1.7, so you may hit error like below screen shot :
Instead of waiting for the plugin to be updated, there is a workaround :
1. Install the latest CollabNet Subversion Client to the server, which provides svn command-line tool. 2. Put all maven commands into a shell, i.e. bat for Windows. 3. Use maven-antrun-plugin to execute that shell. 4. In Jenkins configuration page, just use 'antrun:run' as the 'Goals and options'. It works because the shell will use the system variable where PATH includes the latest CollabNet path rather than the old svn path used by Jenkins. |
|