Code Change details are not available in Bamboo Build Commits tab

Hi Team

We are facing problem with our Bamboo instance regarding the Build Commit details.

As described in the the Build results there should be the section which will show the code changes.

Now we have plan configured with the trigger based on code changes.
The plan is successfully running when someone is changing the code but the details are not shown in the details.

The screen has the words "Code Commits" but the details are absent.

Could you please let us know if there are any specific configuration that we are missing?


1 answer

It will only show the commits if there are commits since the last build in the branch/trunk you are building from. (Your problem may very well be something that is not this simple - I know you said code was committed. Verify this occurred in the branch/trunk you are building).

For example if I run a build it will pick up any changes since the last build (can be viewed by the bamboo.repository.previous.revision.number versus the bamboo.repository.revision.number - put in a scripted echo to display the two variables in your log file.)

If I run the build again before any new changes have been committed the list of changes will be empty.

I'm guessing this is not your issue but thought I'd throw it out there. You can also run customized and specify an earlier revision that you know is included in the branch you're building from.

Also take the previous build's revision number and the current builds revision number (or HEAD etc.) and run a manual log command against your repository to identify the specific commits in your repository. This will provide validation of exactly what should have changed (and displayed) in the second build. I'd start there. Figure out what it should say then you have a position to approach Atlassian with in a support ticket that would help them help you. That would verify that indeed there is a discrepancy between what bamboo is showing and what it should be showing.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Dec 06, 2018 in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,560 views 22 17
View question

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you