Mercurial (HG) version capability with Bamboo

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

Symptoms

Mercurial builds fail with the following error:

1 2 3 4 5 INFO | jvm 1 | 2012/07/27 16:30:26 | 2012-07-27 16:30:26,787 ERROR [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-3] [ChainExecutionManagerImpl] Plan 'RRR-BBBBB2' could not be started INFO | jvm 1 | 2012/07/27 16:30:26 | java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Mercurial not found. Is Mercurial Executable capability properly set in configuration? INFO | jvm 1 | 2012/07/27 16:30:26 | at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:119) INFO | jvm 1 | 2012/07/27 16:30:26 | at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:79) INFO | jvm 1 | 2012/07/27 16:30:26 | at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:174)

Cause

The Mercurial executable version is not compatible with Bamboo.

Resolution

Ensure that Bamboo is using a correct version of HG executable as per the documentation. Please use Mercurial 2.1.1 or later. Mercurial 2.1 has a bug that makes it incompatible with Bamboo.

Updated on April 15, 2025

Still need help?

The Atlassian Community is here for you.