Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28433

Subversion-Tagging Plugin-Tagging Fails

    Details

    • Similar Issues:

      Description

      Since I upgraded to SVN plugin 1.8.

      When I run a build with tagging turned on, the build succeeds and then the tagging fails with the exception below. This was working last time I tried to build and the only thing that I know of that changed was the SVN update.

      Starting to tag
      ERROR: Publisher hudson.plugins.svn_tag.SvnTagPublisher aborted due to exception
      java.lang.NoSuchMethodError: hudson.scm.SubversionSCM.getRevisionFile(Lhudson/model/AbstractBuild;)Ljava/io/File;
      at hudson.plugins.svn_tag.SvnTagPlugin.parseRevisionFile(SvnTagPlugin.java:242)
      at hudson.plugins.svn_tag.SvnTagPlugin.perform(SvnTagPlugin.java:97)
      at hudson.plugins.svn_tag.SvnTagPublisher.perform(SvnTagPublisher.java:79)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
      at hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
      at hudson.model.Run.execute(Run.java:1805)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:89)
      at hudson.model.Executor.run(Executor.java:240)

        Attachments

          Issue Links

            Activity

            Hide
            tmoore Tom Moore added a comment -

            This happens because the svn-tag plugin available in the Plugin Manager (1.17) was built with a dependency on version 2.2 of the Subversion plugin in its pom.xml. Until a new release of svn-tag is made, svn-tag 1.17 can be made to work with the Subversion plugin 2.5 by pulling the source for svn-tag 1.17 and changing the pom.xml to have a dependency on the subversion 2.5 plugin, then run maven clean install to generate a new .hpi Replace the existing svn-tag.hpi with the one you compiled and restart Jenkins. Tagging will work again.

            Show
            tmoore Tom Moore added a comment - This happens because the svn-tag plugin available in the Plugin Manager (1.17) was built with a dependency on version 2.2 of the Subversion plugin in its pom.xml. Until a new release of svn-tag is made, svn-tag 1.17 can be made to work with the Subversion plugin 2.5 by pulling the source for svn-tag 1.17 and changing the pom.xml to have a dependency on the subversion 2.5 plugin, then run maven clean install to generate a new .hpi Replace the existing svn-tag.hpi with the one you compiled and restart Jenkins. Tagging will work again.
            Hide
            recena Manuel Recena Soto added a comment -

            Hi, this issue describes the same bug that this one.

            Show
            recena Manuel Recena Soto added a comment - Hi, this issue describes the same bug that this one .

              People

              • Assignee:
                recena Manuel Recena Soto
                Reporter:
                lindaruthmc linda mcdonald
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: