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

Environment variable defined in Version Number Plug-In not available to svn-tag plugin

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • svn-tag-plugin
    • None
    • Windows XP/Tomcat

      The environment variable defined via the Version Number plugin (versionnumber) resolves to null by the svn-tag plugin.

      Example:
      1. "Create a formatted version number" is checked
      2. "Environment Variable Name" is set to BUILD_REVISION
      3. "Perform Subversion tagging on successful build" is checked
      4. "Tag Base URL" is set to "tags/${env['BUILD_REVISION']}"
      5. When doing a build "null" is used in place of "${env['BUILD_REVISION']}" but BUILD_REVISION is used and properly resolved by ant when used to define a property

          [JENKINS-5283] Environment variable defined in Version Number Plug-In not available to svn-tag plugin

          as6o created issue -
          Alan Harder made changes -
          Link New: This issue duplicates JENKINS-7075 [ JENKINS-7075 ]
          Alan Harder made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Alan Harder made changes -
          Link New: This issue is duplicated by JENKINS-6366 [ JENKINS-6366 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 135372 ] New: JNJira + In-Review [ 186962 ]

            k2nakamura k2nakamura
            as6o as6o
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: