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

Exception when creating a tag when using release staging in a Maven project

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.1
    • Component/s: Release Management
    • Environment:

      Jenkins: 1.613
      Subversion Plugin: 2.5
      Artifactory Plugin: 2.3.0
      Maven: 3.3.3

      Description

      When performing release staging on a MavenModuleSet, during the stage that the creation of a tag is performed, the following message is printed

      [RELEASE] You are using an old subversion jenkins plugin, please consider upgrading.
      

      I managed to get the stacktrace that determines the subversion plugin version:

      java.lang.NoSuchMethodError: hudson.scm.SubversionSCM.createAuthenticationProvider(Lhudson/model/AbstractProject;Lhudson/scm/SubversionSCM$ModuleLocation;)Lorg/tmatesoft/
      svn/core/auth/ISVNAuthenticationProvider;
              at org.jfrog.hudson.release.scm.svn.SubversionManager.getSvnAuthenticationProvider(SubversionManager.java:157)
              at org.jfrog.hudson.release.scm.svn.SubversionManager.createTag(SubversionManager.java:73)
              at org.jfrog.hudson.release.scm.svn.SubversionCoordinator.afterSuccessfulReleaseVersionBuild(SubversionCoordinator.java:49)
              at org.jfrog.hudson.release.maven.MavenReleaseWrapper$2.tearDown(MavenReleaseWrapper.java:177)
              at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:869)
              at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
              at hudson.model.Run.execute(Run.java:1744)
              at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
              at hudson.model.ResourceController.execute(ResourceController.java:98)
              at hudson.model.Executor.run(Executor.java:374)
      

      When downgrading the subversion plugin to 2.0 the creation of the tag succeeds and the overall builds passes as expected

        Attachments

          Activity

            People

            • Assignee:
              eyalbe Eyal Ben Moshe (Inactive)
              Reporter:
              cohen.tomer Tomer Cohen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: