Git merge commits don't show in REST API, but shows in the UI

I merged a branch, and a build triggered.

In the UI (/viewLog.html?buildId=702197&buildTypeId=<redacted>&tab=buildChangesDiv), it lists the new commit as well as the merge commit. 

In the REST API (/httpAuth/app/rest/builds/702197) it only lists the new commit, not the merge commit.

I think the REST API should also show both commits.

 

We're currently using TeamCity 10.0.3 (build 42434)

0
2 comments

Hello Anders,

First of all, it makes sense to upgrade and check if this is still the case in TeamCity 2017.1.x.

If it is still the case in 2017.1.x, we would need more details as the case. VCS settings (e.g. checkout rules), screenshot of the Change Log of the build configuration with changes graph and builds visible, covering the build in question and previous one as well as REST API changes response for the build would allow us to look into the issue.

0

Hi Yegor,

I take it from your response that you consider this to not be the expected behaviour from TeamCity?

I'll check again when our ops team have been able to upgrade, and if the problem is still there, I'll provide the requested details so we can see if this is a bug or a misconfiguration on our part.

0

Please sign in to leave a comment.