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

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

XMLWordPrintable

    • 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

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

              Created:
              Updated:
              Resolved: