-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Platform: All, OS: All
If a project that has a credential that has read only access and you try to
change the credentials for the svn repository to an alternate set with
read/write you receive an error as below. Please see message from Kohsuke below:
From: Kohsuke Kawaguchi Kohsuke.Kawaguchi@Sun.COM
Sent: Monday, July 14, 2008 7:46 PM
To: users@hudson.dev.java.net
Subject: Re: Change credentials problem
OK.
I guess the problem is that when I ask svnkit to test the connection, it doesn't
try anything that requires the write access, so it never gets to the point where
it needs a credential.
Hmm.
Can you file this as an issue? I guess we could let Hudson store it anyway so
that it's available when Hudson actually gets around doing some write operation.
Andrew Chandler wrote:
> I'm having trouble changing the login credentials in hudson for a
> project to one that actually has write (tagging) capability to the
> repository. Every time I follow the link in the little help text to change the
credentials I get this error:
> title
> search
>
>
> *
> *
> *
> *
> *
> *
> *
> *
> *
> *
>
> andy | logout
> Hudson DISABLE AUTO REFRESH
>
> Error
>
> No authentication was attemped.
> FAILED: svn: Operation cancelled
>
> org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled
> at
> hudson.scm.SubversionSCM$DescriptorImpl.doPostCredential(SubversionSCM
> .java:1173) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:103
> ) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57)
> at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75)
> at
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.j
> ava:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:440)
> at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:263)
> at
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.j
> ava:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:440)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:361)
> at org.kohsuke.stapler.Stapler.service(Stapler.java:121)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
> at
> org.apache.catalina.core.ApplicationFilterChain.servletService(Applica
> tionFilterChain.java:411)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilterChain.java:317)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lterChain.java:198) at
> hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:38
> ) at
> hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:30)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilterChain.java:230)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lterChain.java:198) at
> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.j
> ava:52)
> at
> hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityE
> xceptionFilter.java:28) at
> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.j
> ava:55)
> at
> org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTran
> slationFilter.java:166) at
> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.j
> ava:55)
> at
> org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilt
> er(AnonymousProcessingFilter.java:125)
> at
> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.j
> ava:55)
> at
> hudson.security.BasicAuthenticationFilter.doFilter(BasicAuthentication
> Filter.java:89) at
> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.j
> ava:55) at
> hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.jav
> a:44) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:82)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilterChain.java:230)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lterChain.java:198)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
> lve.java:288)
> at
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardC
> ontextValve.java:271)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
> lve.java:202) at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.ja
> va:632) at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.ja
> va:577) at
> com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
> va:206) at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.ja
> va:632) at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.ja
> va:577) at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
> :571) at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
> e.java:150) at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.ja
> va:632) at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.ja
> va:577) at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
> :571) at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
> at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272
> )
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAd
> apter(DefaultProcessorTask.java:637)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProces
> s(DefaultProcessorTask.java:568)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(
> DefaultProcessorTask.java:813)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProces
> sorTask(DefaultReadTask.java:341)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(Defaul
> tReadTask.java:263)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(Defaul
> tReadTask.java:214)
> at
> com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(
> PortUnificationPipeline.java:380) at
> com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:26
> 5)
> at
> com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWo
> rkerThread.java:106)
>
> Hudson ver. 1.233
>
- is duplicated by
-
JENKINS-4567 Hudson does not use the credentials stored in the subversion profile
- Resolved
-
JENKINS-4750 SubversionSCM postCredential fails
- Closed
-
JENKINS-2627 Subversion authentication not working in 1.260 or 1.262
- Closed