Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo Spec - VS Code

Dave Attard March 16, 2023

Has anyone looked at writing a VS Code extension that can parse and validate Bamboo-spec yml?

The Yml validator cant handle includes so it makes it difficult to test whether the entire spec will be successful or not.

If there is nothing out there for this.. Is there a functional spec of the validations that occur? and i will write one

1 answer

1 accepted

1 vote
Answer accepted
Dave Attard March 19, 2023

I have had a look deeper into this, and have found that you can send you bamboo.yml file to 

  • /rest/api/latest/import/plan/validate/{repoId}


so i ended up writing a quick parser to consolidate all the content and includes into a single file and then sending it to the above url to validate, as an action on commit
Note: the repo id can be found using the below endpoint, and then just search for one that has reeEnabled = true
  • /rest/api/latest/repository?searchTerm=

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events