About Pakistan, Software, Software Testing and every thing in between!!
Saturday, September 20, 2008
Changing Subversion credentials in Hudson
I was in a need of changing the Credentials of subversion for a project, unfortunately i was not able to find any straight forward link in manage panel. So the Quick hack to achieve this is:
go to http://[Hudson_Home]/hudson/scm/SubversionSCM/enterCredential
I have error on post data - No authentication was attemped. FAILED: svn: Operation cancelled
org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled at hudson.scm.SubversionSCM$DescriptorImpl.doPostCredential(SubversionSCM.java:1233) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:146) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:71) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:173) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:352) at org.kohsuke.stapler.Stapler.service(Stapler.java:112) 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:61) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:53) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88) 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(Unknown Source)
@Mikl I am sorry man, I might need more information. Which version are you using? (update to latest is painless, see if it resolve your problem). I am a Tester, so any steps to replicate :)? (are you being able to checkout and build from any public repo)
I have error on post data -
ReplyDeleteNo authentication was attemped.
FAILED: svn: Operation cancelled
org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled
at hudson.scm.SubversionSCM$DescriptorImpl.doPostCredential(SubversionSCM.java:1233)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:146)
at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:71)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:173)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:352)
at org.kohsuke.stapler.Stapler.service(Stapler.java:112)
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:61)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:53)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88)
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(Unknown Source)
@Mikl
ReplyDeleteI am sorry man, I might need more information.
Which version are you using?
(update to latest is painless, see if it resolve your problem).
I am a Tester, so any steps to replicate :)?
(are you being able to checkout and build from any public repo)