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

YAML Validator does not support the !include tag

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 9.0.0, 9.1.0, 9.3.0, 9.4.0, 9.5.0, 9.2.0
    • Bamboo Specs
    • None

    Description

      Issue Summary

      Bamboo YAML Validator does not support the !include tag in YAML files.

      Steps to Reproduce

      • Create a YAML Specs Repository
      • Go to Specs >> YAML Validation and add any code that contains the tag !include

      Expected Results

      The YAML Validation should validate YAML files even if they have !include tags in it.

      Actual Results

      A pop-up message appears in the UI with the message:

      The YAML configuration is invalid
      
      There's something wrong with the YAML configuration. Fix the errors and try again.
      Invalid format of the YAML file: Can't construct a java object for !include; exception=Invalid tag: !include in 'reader', line 2, column 1: !include 'repositories/... ^

      Workaround

      There's no workaround at the moment. One will be added here when available.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kmiranda Karel Miranda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: