Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-20908

shortPlanName contains branch name for deployments

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Low
    • Resolution: Fixed
    • 6.9.1
    • 7.1.0, 7.0.4
    • Variables
    • None

    Description

      Issue Summary

      According to https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html bamboo.shortPlanName should contain the name of the plan. In the case of deployment plans this variable contains the branch name (instead of the corresponding build plan name).

      Steps to Reproduce

      1. Create a script task that only contains echo ${bamboo.shortPlanName} in a deployment plan.
      2. Create a release from the master branch. The value of the bamboo.shortPlanName is the correct one, the name of the build plan.
      3. Create a release from another branch. The value of the bamboo.shortPlanName is the name of the branch instead of the name of the build plan.

      Expected Results

      The variable value is the name of the plan.

      Actual Results

      The variable value is the name of the branch.

      Workaround

      There is no workaround.

      Attachments

        Issue Links

          Activity

            People

              achystoprudov Alexey Chystoprudov
              abacs Andrei
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: