Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Exporting commits that have gone into a deployment

Is there any way to export the commits that have gone into a particular bitbucket pipeline deployment?

We have multiple deployment targets, and need to reconcile what commits were deployed and when. Any suggestions welcome.

3 answers

Hey @P Lourenco 

Yes you can track commit on bit bucket pipeline simply select the pipeline that were had triggered. On the top right corner the should be some numbers combine with letter highlighted in blue i.e 581100f . It's clickable and that should be your commit.



Victor Abedi

Thank you Victor I was aware of this, I was just wondering if it was possible to export this list of commits (csv?) to provide to non-dev people so they can build release notes, communicate with customers etc

0 votes

Check out this article to learn about how you can export pull request and commit data from Bitbucket to CSV.

@P Lourenco My suggestion would not be very specific to Bitbucket Pipelines but is more a general approach in build automation and version control.

Assuming you're using `git` as SCM, it allows to create tags. If the build automation tags each revision that is getting deployed it's easy to keep track of these _within_ the repository.

In Bitbucket Pipelines there are two options specifically:

  1. The step container has the `git` utility so the build script can create a tag and push it to the remote.
  2. The step container has a REST client utility so the build script can create a tag via the Bitbucket REST API.

Personally I normally prefer the first way as most often there are other things to do with `git` like merge checks and the tooling is much more standard.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

229 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you