Hello, we are using
Atlassian Bamboo version 9.4.1 build 90412
When validating or importing bamboo.yml we get this error 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 "CI-installer.yml" ^
bamboo.yml has this structure
---
!include "CI-installer.yml"
---
!include "release-installer.yml"
---
!include "deployment.yml"
It was working before, can you tell me what I should do, to make it work again?
Hello vitulka,
Welcome to Atlassian community
YAML Validator does not support !include tag, there is a bug raised to fix this refer BAM-25706 YAML Validator does not support the !include tag to fix this
You have mentioned that while importing too this error is seen. You have also mentioned this was working before, can you check what are the changes which have been done which could affect this.
I would also suggest you to remove each !include from bamboo.yml file so import, this will give you a idea about which .yml file is wrong.
Regards,
Shashank Kumar
*please don't forget to Accept the answer if your query was answered**
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.