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

ERROR: Publisher hudson.plugins.svn_tag.SvnTagPublisher aborted due to exception

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      svn-tag-plugin: version 1.17
      Jenkins version 1.580.2

      Configuration of the plugin: see attachment.

      Plugin has been running fine until 10 January 2015, since then it displays the stack trace below but this doesn't fail the build. I noticed the problem accidentally by inspecting the console output.

      I checked 'yum history' and did a Jenkins upgrade on 12 January 2015. The build plan above doesn't run in the weekend, that's why it ran successfully for the last time on 10 January.

      error output in console output:
      ------------------------
      ...
      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:1791)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:89)
      at hudson.model.Executor.run(Executor.java:240)
      Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
      ...
      ---------------------------

        Attachments

          Activity

          Hide
          dfn David Newman added a comment -

          I ran into this error as well. It appears an API change occurred within the subversion plugin around version 2.5 and method was removed. JENKINS-26611 seems to indicate that the method has been re-added. Until the next release my workaround was to downgrade the subversion plugin to 2.4.5.

          https://github.com/jenkinsci/subversion-plugin/pull/108 seems to indicate that plugins that make use of the subversion plugin need to make a code change.


          "The SubversionSCM.getRevisionFile(AbstractBuild) was altered to use instead Run, however some plugins have not converted to using the Run class, so I am restoring the method and deprecating it."

          Show
          dfn David Newman added a comment - I ran into this error as well. It appears an API change occurred within the subversion plugin around version 2.5 and method was removed. JENKINS-26611 seems to indicate that the method has been re-added. Until the next release my workaround was to downgrade the subversion plugin to 2.4.5. https://github.com/jenkinsci/subversion-plugin/pull/108 seems to indicate that plugins that make use of the subversion plugin need to make a code change. – "The SubversionSCM.getRevisionFile(AbstractBuild) was altered to use instead Run, however some plugins have not converted to using the Run class, so I am restoring the method and deprecating it."
          Show
          recena Manuel Recena Soto added a comment - https://issues.jenkins-ci.org/browse/JENKINS-26611

            People

            • Assignee:
              recena Manuel Recena Soto
              Reporter:
              patrickhancke Patrick Hancke
            • Votes:
              7 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: