What Git version is used in Bitbucket Pipelines clone container?
Platform Notice: Cloud Only - This article only applies to Atlassian apps on the cloud platform.
Summary
This article aims to clarify the Git version utilized during the git clone operation in Bitbucket Pipelines. This information can be crucial to ensure your build pipelines are secure and up-to-date with the latest Git patches.
Solution
The Git version used during the git clone operation in Bitbucket Pipelines is not determined by the step image specified in the pipeline configuration.
Bitbucket Pipelines uses a specific container to clone the repository for the pipeline build.
Identify Git version in use
To identify the current Git version from the image Bitbucket uses in the clone container, you can use the following command locally:
docker run docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-dvcs-tools:prod-stable git versionThis command will output the current Git version used in the clone container.
While the Git version used in the clone container is not publicly documented, it is managed by Atlassian to ensure security and reliability. For any further questions or concerns, please contact Atlassian support.
Was this helpful?