Build Parameters in SVN URL confuse svn-tag

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: svn-tag-plugin
    • None
    • Environment:
      Platform: All, OS: All

      Our projects use build-parameters when performing the SVN checkout, so we can
      specify the branch/tag from which to build.

      For example, we have an SVN URL on a project like this:
      http://subversion-server/repos/app/${SUBVERSION_PATH}/ProjectA

      We provide SUBVERSION_PATH=trunk (as an example) when we run the build.

      When the build runs, it ends with this error message:
      moduleLocation: Remote
      ->http://subversion-server/repos/app/${SUBVERSION_PATH}/ProjectA
      Failed to parse SVN repo URL. Illegal character in path at index 45:
      http://subversion-server/repos/app/${SUBVERSION_PATH}/ProjectA

      On the flip side, I can't replace the ${SUBVERSION_PATH} with
      ${env['SUBVERSION_PATH']} as the SVN checkout facility doesn't recognize groovy
      syntax.

            Assignee:
            Renjith Pillai
            Reporter:
            rjlorimer
            Votes:
            15 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: