I having an issue in configuration the ssh keys
as this post but the solution didn't work with me
https://community.atlassian.com/t5/Bamboo-questions/Bamboo-YAML-spec-not-working-when-I-use-with-plan-repo/qaq-p/2004010
java.lang.IllegalArgumentException: Cannot read keypair, passphrase wasn't set
java.lang.RuntimeException: java.lang.IllegalArgumentException: Cannot read keypair, passphrase wasn't set
Caused by: java.lang.IllegalArgumentException: The supplied key is not in a supported format or needs a passphrase to be decrypted
my workflow:
I clone a yaml file and modify it to work for another project, I didn't find a proper way on how to handle the ssh keys
- repo-name:
type: bitbucket-server
server: Stash
project: project
slug: repo-name
clone-url: ssh://git@stash.company.local:7999/project/repo-name.git
public-key: ssh rsa generated key (imported to the project ssh key )
private-key: encrypted private key
I read that the passphrase is only for git repos