"Couldn't start Bamboo Specs scanning" error in the UI after enabling repository Stored Specs

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

The user gets the following error when enabling repository-stored Specs and clicking on Scan button:

Couldn't start Bamboo Specs scanning
We couldn't connect to the repository. Please check its configuration.


Diagnosis

We can see the following message in the atlassian-bamboo.log file:

INFO [RssDetectionRunnable] Exception while executing RSS detection for repository
java.lang.UnsupportedOperationException: JGit implementation does not support this operation, please use native Git
	at com.atlassian.bamboo.plugins.git.JGitOperationHelper.obtainLatestRevision(JGitOperationHelper.java:797)


Cause

This happens if Bamboo server does not have native Git installed on it.

Solution

  1. Install a Git binary on the Bamboo server. See Git - Installing Git for more information;
  2. Define Git as a Server Capability at Bamboo Administration > Overview > Server Capabilities page


Last modified on Jan 29, 2021

Was this helpful?

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