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

SVN Tag fails when the url contains spaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • svn-tag-plugin
    • None
    • plugin version 1.16, jenkins version 1.484

      Subversion tagging plugin fails when the url contains space characters:

      Remote Module Location: http://my-ma-gical-servere.com/svn/XxxxXxx/XX%20Xxxxxx%20XX/somethingsomething/trunk@37888.
      ERROR: Publisher hudson.plugins.svn_tag.SvnTagPublisher aborted due to exception
      java.lang.IllegalArgumentException: Illegal character in path at index 45: http://my-ma-gical-servere.com/svn/XxxxXxx/XX Xxxxxx XX/somethingsomething/tags/null
      	at java.net.URI.create(Unknown Source)
      	at java.net.URI.resolve(Unknown Source)
      	at hudson.plugins.svn_tag.SvnTagPlugin.perform(SvnTagPlugin.java:151)
      	at hudson.plugins.svn_tag.SvnTagPublisher.perform(SvnTagPublisher.java:79)
      	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
      	at hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
      	at hudson.model.Run.execute(Run.java:1546)
      	at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:236)
      Caused by: java.net.URISyntaxException: Illegal character in path at index 45: http://my-ma-gical-servere.com/svn/XxxxXxx/XX Xxxxxx XX/somethingsomething/tags/null
      	at java.net.URI$Parser.fail(Unknown Source)
      	at java.net.URI$Parser.checkChars(Unknown Source)
      	at java.net.URI$Parser.parseHierarchical(Unknown Source)
      	at java.net.URI$Parser.parse(Unknown Source)
      	at java.net.URI.<init>(Unknown Source)
      	... 12 more

            vrenjith Renjith Pillai
            skolima Leszek Ciesielski
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: