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

Variable substitution within plan variables is not working.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • 6.3.0
    • 5.1.1
    • Variables
    • None

      For a given agent, I have 1 custom capability defined:

      variable_capability = 67890

      For a given plan, I have 2 plan variables defined:

      variable_plan = 12345 ${bamboo.capability.variable_capability} ${bamboo.other_variable_plan}

      other_variable_plan = ABCDE

      In that plan I have a single stage running a single job with only one script task executing:

      echo %*

      with the following arguments:

      ${bamboo.other_variable_plan} ${bamboo.capability.variable_capability} ${bamboo.variable_plan}

      The result of execution I had with Bamboo 4.4.5:

      ABCDE 67890 12345 67890 ABCDE

      The result of execution I now have with Bamboo 5.1.1:

      ABCDE 67890 12345 ${bamboo.capability.variable_capability} ${bamboo.other_variable_plan}

      Unless recursive variable resolution was a side effect in 4.4.5 I feel that this a bug in the new version.

            Unassigned Unassigned
            436e3dd949ab Alexis Patenaude
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: