Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-13098

Plan branches use old (deleted) branches variable values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 5.15.4
    • 4.0.1
    • Plan Branches, Variables
    • None

    Description

      Steps to reproduce (within a plan that connects to a SCM with branches)

      1. Configure a plan variable
      2. Create a branch
      3. Configure the variable with a value (and for instance... pass it as -Dvar=${bamboo.varname} in a maven task)
      4. (maybe execute the plan, don't know if it is necessary)
      5. Delete the branch
      6. Create a new branch
      7. Configure the variable to have a different value
      8. Run the plan
      • The value passed to the task is the old one

      I think this may relate to the fact that bamboo names branches as "<plan-name> + index", and this does not take the deleted branches history into account, so my <bamboourl>/PLAN0 branch already existed and it is using the values that were configured in that old branch.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alejo.abdala Alejo Abdala
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: