Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-471

Release promotion fails due to being unable to find any SVN credentials

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Component/s: Release Management
    • Labels:
    • Environment:

      Jenkins 1.552 running on Windows Server 2008 R2
      Artifactory Plugin 2.2.1
      Subversion plugin 2.2

      Description

      In Jenkins 1.552 + Artifactory Plugin 2.2.1 + Subversion plugin 2.2, release promotion fails because during creation of a tag, no SVN credentials can be found.

      The error message in the build log is:

      [RELEASE] Creating subversion tag: svn://internalsvn.company.com/repo/myproject/tags/1.3.0
      Failure in post build SCM action: Subversion tag creation failed: svn: E200015: No credential to try. Authentication failed
      

      The reason to this seems to be that the method

      getSvnAuthenticationProvider

      in class

      org.jfrog.hudson.release.scm.svn.SubversionManager

      creates an authentication provider that is not project and module location aware.

        Attachments

          Activity

            People

            • Assignee:
              liorha Lior Hasson (Inactive)
              Reporter:
              spock Yair Halevi
            • Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: