The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Do I need to install git on the Bamboo server if I'm using BitBucket server?

Jonathan Greenwood
March 7, 2018

There have been changes (merges) from a branch into the develop branch, however, the build can not seem to follow this. An exception is thrown regarding a table constraint that tries to insert a commit as null.

Error stated in Bamboo plan:
Plan 'CI-xxx' could not be started. Exception: Could not execute JDBC batch update; SQL [insert into COMMIT_FILES (COMMIT_ID, COMMIT_FILE_NAME, COMMIT_FILE_REIVISION) values (?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
(06 Mar 2018, 1:02:04 PM)

We are using Bamboo 5.12 on RHEL 5.x. We have an integration with BitBucket installed on a different server and wondering if the Bamboo server also needed a local copy of git installing.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Mirek
Community Champion
March 7, 2018

That error doesn't say that you need to have GIT installed. Wondering what kind of integration you are having (App Links or else?) but in any way I think is should not be required unless your Bamboo server is used also as an local agent.

0 votes
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 7, 2018

Hi Johnathan,

Bamboo does have a bundled Java-based version of git (called jgit), which is enough to get started, but we strongly recommend installing git proper separately.

Cheers,

Christian

Premier Support Engineer

Atlassian

TAGS
AUG Leaders

Atlassian Community Events