Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo YAML import failed: Document structure is incorrect: Found following unused properties: plan-

Hi,

I've the following yaml spec for my bamboo plan:

---
version: 2
plan:
project-key: TAG
key: TAGDMUPDATER
name: tag.dm-updater

plan-permissions:
- users: my.user
groups: tag-dev
roles: logged-in
permissions: view


stages:
- Build:
- Build


Build:
tasks:
- script:
- python setup.py sdist bdist_wheel

artifacts:
-
name: wheel
location: dist/
pattern: '*.whl'
required: true

 But I'm getting the following error:

Bamboo YAML import failed: Document structure is incorrect: Found following unused properties: plan-permissions

What I'm doing wrong?

We have Bamboo 6.9.1

1 answer

1 accepted

2 votes
Answer accepted

Nevermind. I've found in docs that I need to use "separate YAML document", so after moving permissions to separate

---
version: 2

block everything works as expected

I dont understand. A separate file?  What do you mean "block"?

Something is wrong with your code snippet.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

46 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you