teamcitychangelogteamcity-8.0

How to get full changelog from Git as an artifact in TeamCity


I wonder, are there any way to get full changelog for the project as an artifact in TeamCity.

So I want it to look something like this:

Build 1.0.0:
- Commit 1
- Commit 2
Built 1.0.1:
- Commit 3

Are there any way to do this?


Solution

  • As an artifact, probably it is not possible yet.

    But you can use Teamcity's REST API to achieve something similar:

    Also you can always check the "Change Log" tab on your build result, but it requires you to parse the html page to get the format you want.

    enter image description here