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

Subversion tagging on successful build does not work with repository URL file://

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • svn-tag-plugin
    • None
    • CentOS Linux srv.exerp.com 2.6.18-128.7.1.el5xen #1 SMP Mon Aug 24 10:08:55 EDT 2009 i686 i686 i386 GNU/Linux

      When configuring the subversion repository to use filesystem URL : file:///home/cvs/svnroot/branches/clublead_3_4_x the plugin "Hudson Subversion Tagging Plug-in" fails to create a tag.

      It fails if the tag base URL is absolute file:///home/cvs/svnroot/tags/clublead_3_4_22
      and if it is relative is fails as well ../../tags/clublead_3_4_22

      moduleLocation: Remote ->file:///home/cvs/svnroot/branches/clublead_3_4_x
      Failed to parse tag base URL 'file:///home/cvs/svnroot/tags/clublead_3_4_27'. svn: Malformed URL 'file:/home/cvs/svnroot/tags'
      There was no old tag at file:///home/cvs/svnroot/tags/clublead_3_4_27.
      ERROR: Publisher hudson.plugins.svn_tag.SvnTagPublisher aborted due to exception
      java.lang.NullPointerException
      at org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.createRepository(DefaultSVNRepositoryPool.java:218)
      at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:338)
      at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:330)
      at org.tmatesoft.svn.core.wc.SVNCommitClient.doImport(SVNCommitClient.java:640)
      at org.tmatesoft.svn.core.wc.SVNCommitClient.doImport(SVNCommitClient.java:523)
      at hudson.plugins.svn_tag.SvnTagPlugin.perform(SvnTagPlugin.java:221)
      at hudson.plugins.svn_tag.SvnTagPublisher.perform(SvnTagPublisher.java:111)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
      at hudson.model.Build$RunnerImpl.cleanUp(Build.java:158)
      at hudson.model.Run.run(Run.java:1235)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:122)

            k2nakamura k2nakamura
            reminodet reminodet
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: