SVN_URL and SVN_REVISION are not set when using @NNN in Subversion URL

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      As in summary.

      The job is a free-style job, configured with an Subversion SCM repository of
      svn://hood/svnroot/product/trunk/buildtools@HEAD, and a single
      "Execute shell" build step:

      env | grep SVN
      

      The console output:

      13:24:05  Started by user anonymous
      13:24:05  Building on master
      13:24:05  Updating http://hood/svnroot/product/trunk/buildtools@HEAD
      13:24:05  At revision 187514
      13:24:06  no change for http://hood/svnroot/product/trunk/buildtools since the previous build
      13:24:06  [workspace] $ /bin/sh -xe /tmp/hudson7584077203075354172.sh
      13:24:06  + env
      13:24:06  + grep SVN
      13:24:06  Notifying upstream projects of job completion
      13:24:06  Finished: SUCCESS
      

      Without the @HEAD:

      13:52:22  Started by user anonymous
      13:52:22  Building on master
      13:52:22  Updating http://hood/svnroot/product/trunk/buildtools
      13:52:22  At revision 187517
      13:52:23  no change for http://hood/svnroot/product/trunk/buildtools since the previous build
      13:52:23  [workspace] $ /bin/sh -xe /tmp/hudson1084601171101888494.sh
      13:52:23  + env
      13:52:23  + grep SVN
      13:52:23  SVN_URL=http://hood/svnroot/spectrum/trunk/omneon/buildtools
      13:52:23  SVN_REVISION=187450
      13:52:23  Notifying upstream projects of job completion
      13:52:23  Finished: SUCCESS
      

      Jenkins v1.425, Subversion Plugin v1.31

            Assignee:
            Unassigned
            Reporter:
            Ammon Riley
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: