Details

    • Similar Issues:

      Description

      I am using SSH private key based user to access svn repo. 

      It was working fine toll I changed the private key because if security issue.

       

      Now in jenkins it's saying that the user is unable to access the repository.

       

      FYI, I am able to checkout the code using the same user from command line

       

        Attachments

        1. jenkinsjira.PNG
          18 kB
          Pragati Kumari
        2. jenkinsjira2.PNG
          28 kB
          Pragati Kumari

          Activity

          Hide
          jvz Matt Sicker added a comment -

          Do you have any error log messages? What key type and parameters are you using for SSH?

          Show
          jvz Matt Sicker added a comment - Do you have any error log messages? What key type and parameters are you using for SSH?
          Hide
          pragatikumari Pragati Kumari added a comment -

          Error log is :

           
          10:51:08 org.tmatesoft.svn.core.SVNAuthenticationCancelledException: svn: E200015: Authentication cancelled*10:51:08* at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancelAuthentication(SVNErrorManager.java:43)10:51:08 at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getNextAuthentication(DefaultSVNAuthenticationManager.java:230)10:51:08 at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector.open(SVNSSHConnector.java:134)10:51:08 at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.open(SVNConnection.java:77)10:51:08 at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.openConnection(SVNRepositoryImpl.java:1274)10:51:08 at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.testConnection(SVNRepositoryImpl.java:99)10:51:08 at org.tmatesoft.svn.core.io.SVNRepository.getRepositoryUUID(SVNRepository.java:268)10:51:08 at org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.createRepository(SvnRepositoryAccess.java:103)10:51:08 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepository(SvnNgRepositoryAccess.java:211)10:51:08 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.updateInternal(SvnNgAbstractUpdate.java:210)10:51:08 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.update(SvnNgAbstractUpdate.java:115)10:51:08 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:40)10:51:08 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:18)10:51:08 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)10:51:08 at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)10:51:08 at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1239)10:51:08 at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)10:51:08 at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:311)10:51:08 at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:291)10:51:08 at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:387)10:51:08 at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:161)10:51:08 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:168)10:51:08 at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:1041)10:51:08 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:1017)10:51:08 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:990)10:51:08 at hudson.FilePath.act(FilePath.java:1078)10:51:08 at hudson.FilePath.act(FilePath.java:1061)10:51:08 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:937)10:51:08 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:864)10:51:08 at hudson.scm.SCM.checkout(SCM.java:504)10:51:08 at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)10:51:08 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)10:51:08 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)10:51:08 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)10:51:08 at hudson.model.Run.execute(Run.java:1810)10:51:08 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)10:51:08 at hudson.model.ResourceController.execute(ResourceController.java:97)10:51:08 at hudson.model.Executor.run(Executor.java:429)10:51:08 ERROR: Subversion update has been canceled*10:51:08* Build was aborted

          I have also attached the error details

          Show
          pragatikumari Pragati Kumari added a comment - Error log is :   10:51:08 org.tmatesoft.svn.core.SVNAuthenticationCancelledException: svn: E200015: Authentication cancelled*10:51:08* at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancelAuthentication(SVNErrorManager.java:43) 10:51:08 at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getNextAuthentication(DefaultSVNAuthenticationManager.java:230) 10:51:08 at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector.open(SVNSSHConnector.java:134) 10:51:08 at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.open(SVNConnection.java:77) 10:51:08 at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.openConnection(SVNRepositoryImpl.java:1274) 10:51:08 at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.testConnection(SVNRepositoryImpl.java:99) 10:51:08 at org.tmatesoft.svn.core.io.SVNRepository.getRepositoryUUID(SVNRepository.java:268) 10:51:08 at org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.createRepository(SvnRepositoryAccess.java:103) 10:51:08 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepository(SvnNgRepositoryAccess.java:211) 10:51:08 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.updateInternal(SvnNgAbstractUpdate.java:210) 10:51:08 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.update(SvnNgAbstractUpdate.java:115) 10:51:08 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:40) 10:51:08 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:18) 10:51:08 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20) 10:51:08 at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21) 10:51:08 at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1239) 10:51:08 at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294) 10:51:08 at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:311) 10:51:08 at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:291) 10:51:08 at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:387) 10:51:08 at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:161) 10:51:08 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:168) 10:51:08 at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:1041) 10:51:08 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:1017) 10:51:08 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:990) 10:51:08 at hudson.FilePath.act(FilePath.java:1078) 10:51:08 at hudson.FilePath.act(FilePath.java:1061) 10:51:08 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:937) 10:51:08 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:864) 10:51:08 at hudson.scm.SCM.checkout(SCM.java:504) 10:51:08 at hudson.model.AbstractProject.checkout(AbstractProject.java:1208) 10:51:08 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574) 10:51:08 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) 10:51:08 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) 10:51:08 at hudson.model.Run.execute(Run.java:1810) 10:51:08 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 10:51:08 at hudson.model.ResourceController.execute(ResourceController.java:97) 10:51:08 at hudson.model.Executor.run(Executor.java:429) 10:51:08 ERROR: Subversion update has been canceled*10:51:08* Build was aborted I have also attached the error details
          Hide
          pragatikumari Pragati Kumari added a comment -

          I am using SSH username with private key

          Show
          pragatikumari Pragati Kumari added a comment - I am using SSH username with private key

            People

            • Assignee:
              jvz Matt Sicker
              Reporter:
              pragatikumari Pragati Kumari
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: