hudson新建subversion项目的时候认证时弹出Authentication was not acknowledged

输入了对应的SVN的仓库checkout的路径后,采用用户名和密码进行验证后,弹出下面的错误:
 
Passing user name bish and password you entered
Authentication was not acknowledged.
FAILED: svn: Operation cancelled
org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled
	at hudson.scm.UserProvidedCredential$AuthenticationManagerImpl.checkIfProtocolCompleted(UserProvidedCredential.java:283)
	at hudson.scm.SubversionSCM$DescriptorImpl.postCredential(SubversionSCM.java:1885)
	at hudson.scm.SubversionSCM$DescriptorImpl.doPostCredential(SubversionSCM.java:1822)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282)
	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)
	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)
	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:489)
	at org.kohsuke.stapler.Stapler.service(Stapler.java:160)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
	at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
	at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
	at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:180)
	at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:148)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
	at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:180)
	at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:148)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
	at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:52)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
	at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
	at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
	at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
	at java.lang.Thread.run(Thread.java:636)
网上搜索了一下,参考的是这个地址,因为我下载的是2012-7-4月的发布的一个hudson版本》
3.0.0 M-3,而该版本对应的subversion插件的版本为2.3.0版本,找到对应的hudson的插件的仓库地址:http://hudson-ci.org/download/plugins/subversion/ ,发现下面没能找到最新的subversion版本,最新的版本也是2.3.0版本的。

 

后来在这个地址:http://www.eclipse.org/forums/index.php/m/893645/

上面的哥们也给出了一个他们对于这个bug的刚刚解决的方案,就是一个最新的svn的补丁包,下载地址是:

http://search.maven.org/#artifactdetails%7Corg.hudsonci.plugins%7Csubversion%7C2.3.2%7Chpi,可以他最后也说了,截止到7月5日还是没有看到该项目发布者发布到网上最新的2.3.2的版本。

所以下载就成了问题了,还没有发布?

 

解决方法:

后来在manger plugin中进入advanced的tab页面中看到了这个设置方案,可以在这里进行手工更新插件,只需要下载一个hpi文件即可。

呵呵@解决了!QQ截图20120708140912

 

 

可是插件可能下载不了,参考一个地址可以下载最新的插件:

http://stackoverflow.com/questions/5298152/how-to-correctly-configure-svn-for-hudson-jenkins-continous-integration-system

 

解决方案:一个哥们说是删除对应的一个目录就可以了,参考文档:http://blog.vinodsingh.com/2009/08/hudson-svn-authentication-cancelled.html

posted @ 2012-07-08 14:06  高级测试开发网  阅读(2427)  评论(0编辑  收藏  举报
了解开发资源最新动态:https://seniortesting.club