I have problem with Bamboo Specs for Bamboo 6.3.1.
I want to set own Private/Public key for BitbucketServerRepository like
project_key = _project_key;
repository_slug = _repository_slug;
branch_name = branch;
ApplicationLink link = new ApplicationLink()
.name(Main.BITBUCKET_NAME);
this.sshPrivateKey(load_private_ssh_key());
this.sshPublicKey(load_public_ssh_key());
this.server(link);
this.sshCloneUrl("ssh://<server>" + project_key + "/" + repository_slug + ".git");
this.repositorySlug(repository_slug);
this.projectKey(project_key);
this.name(Main.BITBUCKET_BAMBOO_NAME + project_key + repository_slug + branch);
this.branch(branch);
this.submodulesEnabled(true);
this.commandTimeoutInMinutes(120);
this.remoteAgentCacheEnabled(false);
this.fetchWholeRepository(true);
(Replace <server> with valid server address)
Everything publish without problems, but Bamboo generate NEW keys in my Bitbucket server even if I have specified private/public pair.
What's wrong?
Thans for any advise
,
John