Using a YAML Specs !include tag as described in the documentation results in a parse error

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      The documentation for Bamboo Specs YAML !include tag states that it can be used as a line item level tag but Bamboo gives a generic parsing error. 

       

       

      Steps to Reproduce

      1. Create YAML file:
      version: 2
      ---
      !include 'spec1.yml'
      ---
      1. Commit and push the YAML file into Bitbucket and wait for Bamboo to detect the change

      Expected Results

      Both YAML files are parsed and are imported successfully.

      Actual Results

      The below exception is thrown in the xxxxxxx.log file:

      Bamboo YAML import failed: Unable to parse the YAML file, it may be malformed
      

      Workaround

      !include works if it is appended onto another tag for example:

       

      Build: !include 'buildSteps.yml'

      Or

       

       

      Test: !include 'testSteps.yml'

       

            Assignee:
            Alexey Chystoprudov
            Reporter:
            James Williams (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: