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

Use empty value for plan variable at YAML Specs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 9.1.0
    • 9.0.0, 7.2.10, 8.2.6, 8.1.10, 8.0.11
    • Bamboo Specs
    • None

      Issue Summary

      It's not possible to define plan variable with empty value as YAML Specs doesn't support empty String nodes.

      Java Specs allows to configure variable with empty value

      See https://community.atlassian.com/t5/Bamboo-questions/BUG-How-to-declare-an-emtpy-variable-in-Bamboo-YAML-specs/qaq-p/1439865 for details

      Steps to Reproduce

      1. Create YAML file and define plan variable with empty value
      2. Push change to repository

      Expected Results

      Plan created and variable has empty value

      Actual Results

      Specs processing fails.

      Workaround

      Use dummy value and handle it when analyze variable value.

              72548a1cec6d Wioletta Dys
              achystoprudov Alexey Chystoprudov
              Votes:
              11 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: