Hi there,
I followed the documentation of Bamboo Yaml specs to create plan repositories as below.
repositories:
- my-test:
type: bitbucket-server
server: http://localhost:7990
project: TestProject
slug: test-service
clone-url: ssh://git@scr.bsh-sdd.com:7990/testproject/test-service.git
public-key: PUBLIC KEY
private-key: ENCRYPTED_PRIVATE_KEY
I provided the actual public key and private key in the yaml and the pulic key is configured in the bit bucket server to my account. When tried like this I am the error.
Cannot read keypair, passphrase wasn't set
But I am not sure how I should provide the passphrase.
And when I remove public-key and private-key fields I get below error.
Bamboo YAML import failed: Repository 'my-test' should be defined at 'repositories' list when referenced by Checkout task
Can someone help me here ?