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

SVN_* variables are not available in build script if variable is used in SVN url

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • subversion-plugin
    • None
    • Jenkins LTS 1.625.1
      OS - CentOS 7.1
      subversion-plugin - 2.5.4

      Attached job in problem.xml can be used to reproduce this.

      By comparison no-problem.xml doesn't use variables in SVN URL and works as expected.

      In both cases the expected output is the same:
      SVN_REVISION=1712454
      SVN_REVISION_1=1712454
      SVN_URL=http://svn.apache.org/repos/asf/pivot/trunk
      SVN_URL_1=http://svn.apache.org/repos/asf/pivot/trunk

        1. config.xml
          2 kB
        2. no-problem.xml
          2 kB
        3. problem.xml
          3 kB

            recena Manuel Recena Soto
            slawomir_czarko Slawomir Czarko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: