"Couldn't start Bamboo Specs scanning" error in the UI after enabling repository Stored Specs
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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:
1
2
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:
1
2
3
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
Install a Git binary on the Bamboo server. See Git - Installing Git for more information;
Define Git as a Server Capability at Bamboo Administration > Overview > Server Capabilities page
Was this helpful?