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

SVN_REVISION environment variable not set when URL includes capitalized hostname

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • subversion-plugin
    • None

      When a project uses Subversion SCM and references the repository using a URL with an upper-case hostname, the SVN_REVISION environment variable is not set within the build.

      The Jenkins application log contains the following warning:

      Oct 12, 2016 1:19:24 PM hudson.scm.SubversionSCM buildEnvVars
      WARNING: no revision found corresponding to https://MYSERVER.mydomain.com/svn/path/to/project/trunk; known            : [https://myserver.mydomain.com/svn/path/to/project/trunk]
      

      This problem was resolved by updating the repository URL to use a lower-case hostname.

            Unassigned Unassigned
            dpotter David Potter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: