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

Build Parameters in SVN URL confuse svn-tag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • svn-tag-plugin
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: