Jenkins:SVN工作副本的无效版本 [英] Jenkins: invalid version of SVN working copy

查看:182
本文介绍了Jenkins:SVN工作副本的无效版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的构建服务器运行Jenkins 1.502,并将Subversion插件升级到1.45版.此插件使用svnkit-1.7.6-jenkins-1.jar.

Our build server runs Jenkins 1.502 with Subversion plugin upgraded to version 1.45. This plugin uses svnkit-1.7.6-jenkins-1.jar.

我们还安装了SVN客户端1.7.8.

Also we have SVN client 1.7.8 installed.

Jenkins已成功从SVN信息库检出源代码.但是当我进入工作区目录并尝试手动运行一些svn命令时,它失败了:

Jenkins successfully checks out source code from SVN repository. But when I go to workspace directory and try to run some svn command manually, it fails:


# cd /var/lib/jenkins/jobs/myproject/workspace/
# svnversion
svn: E155036: Working copy '/var/lib/jenkins/jobs/myproject/workspace' is too old (format 8, created by Subversion 1.4)

错误消息表明工作副本是由SVN 1.4创建的,但是svnkit的版本是1.7.6.怎么可能呢?

The error message indicates that working copy was created by SVN 1.4, but version of svnkit is 1.7.6. How could it be?

我搜索了整个文件系统,没有其他svnkit-*.jar个文件.

I searched entire file system, there are no any other svnkit-*.jar files.

推荐答案

jenkins中有一个选项可以告诉svn使用哪种工作副本格式(管理jenkins>配置系统),查找"Subversion Workspace版本"下拉列表-它可能设置为1.4.将其更改为列表中的最新版本.

There is an option in jenkins to tell svn which working copy format to use(manage jenkins > configure system), look for a 'Subversion Workspace Version' pulldown - it's likely set to 1.4. change it to the latest version in the list.

这篇关于Jenkins:SVN工作副本的无效版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆