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

denis_kot August 6, 2019

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
denis_kot August 6, 2019

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

Victorio Berra September 26, 2019

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

Victorio Berra September 26, 2019

Something is wrong with your code snippet.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events