Cannot create linked repository or plan repository

Still need help?

The Atlassian Community is here for you.

Ask the community


Problem

Cannot create linked repository or plan repository when the repository is empty.


The following appears in the plan-#####-XXX-#.log

26-Dec-2017 07:16:46	[ERROR] Failed to execute goal com.atlassian.bamboo:bamboo-specs-runner:6.2.3:run (default-cli) on project atl-spec: Execution default-cli of goal com.atlassian.bamboo:bamboo-specs-runner:6.2.3:run failed: java.lang.reflect.InvocationTargetException: An error occurred while publishing plan ATL-SVC: Can't authenticate with Bitbucket Server despite successful public key storage: ssh-rsa ...KeYiNfOrMaTiOn.... http://<bambooserver> -> [Help 1]


The following appears in the atlassian-bamboo.log

2017-12-26 07:16:46,276 INFO [threadinfo] [BitbucketServerExporter] Public key was added to Bitbucket Server (Bamboo user: User123, application: Bitbucket [https://<bambooserver>.com], location: repository ATL/ATL-svc): ssh-rsa ...KeYiNfOrMaTiOn... http://<bambooserver>
2017-12-26 07:16:46,495 INFO [threadinfo] [NativeGitOperationHelper] Could not find [] in remote refs.

Cause

The repository is empty 

Workaround

Add a branch to the newly created repository and commit some code to it.

Last modified on Jan 4, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.