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 https://confluence.atlassian.com/display/BAMBOO/Viewing+a+build+resultin 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?

Regards,
Areg

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,817 views 0 6
Read article

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