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

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

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            I see the issue in subversion-1.50 with Jenkins 1.509.4

            Show
            oleg_nenashev Oleg Nenashev added a comment - I see the issue in subversion-1.50 with Jenkins 1.509.4
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            The issue also appears for subversion-1.53 (with @HEAD suffix)

            Show
            oleg_nenashev Oleg Nenashev added a comment - The issue also appears for subversion-1.53 (with @HEAD suffix)
            Hide
            oleg_nenashev Oleg Nenashev added a comment - - edited

            Debug info (SubversionSCM.java:613):

            • Key in the "revisions" container: $PATH_TO_SCM
            • Value to be got in revisions.get() $PATH_TO_SCM/

            The issue is slash in the end x_X.
            So, it is definitely an another issue. I'll create another one

            Show
            oleg_nenashev Oleg Nenashev added a comment - - edited Debug info (SubversionSCM.java:613): Key in the "revisions" container: $PATH_TO_SCM Value to be got in revisions.get() $PATH_TO_SCM/ The issue is slash in the end x_X. So, it is definitely an another issue. I'll create another one
            Hide
            danielbeck Daniel Beck added a comment -

            Oleg, can this be resolved again?

            Show
            danielbeck Daniel Beck added a comment - Oleg, can this be resolved again?
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Yes, I've forgot to close it.
            Just 4 history, the new issue has been fixed (JENKINS-20344)

            Show
            oleg_nenashev Oleg Nenashev added a comment - Yes, I've forgot to close it. Just 4 history, the new issue has been fixed ( JENKINS-20344 )

              People

              • Assignee:
                Unassigned
                Reporter:
                ammon Ammon Riley
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: