crunchie84 / teamcity.releasenotesfetcher

CommandLine tool to fetch releasenotes based on teamcity buildId

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TeamCity.ReleaseNotesFetcher

This commandline tool is used to retrieve the pending changes of a given TeamCity build in a markdown syntax so we can easily generate releasenotes of those. The application will fetch the information from the TeamCity REST Api with the given credentials and output the pending changes to the console.

Usage: TeamCity.ReleaseNotesFetcher options

   OPTION                 TYPE       POSITION   DESCRIPTION
   -TeamCityUrl (-T)      string*    0          The baseurl to your teamcity server from which we are going to download the releasenotes
   -UserName (-U)         string*    1          Your TeamCity username with sufficient rights to download the releasenotes of builds
   -Password (-P)         string*    2          Your Teamcity password [sorry TC does not support OAuth tokens...]
   -BuildId (-B)          integer*   3          The build id of which to create releasenotes
   -RepositoryName (-R)   string*    4          The github repo to use for the url building to the commit ids

   EXAMPLE: TeamCity.ReleaseNotesFetcher -T http://teamcity.yourcompany.com -U mytcusername -P mytcpassword -B 1234 -R crunchie84/teamcity.releasenotesfetcher
   When executing this program it will go to the passed teamcity server's REST API to retrieve the pending changes of the given build id and return those to the console in markdown
 format.

Output (example)

## [janedoe - 2014-07-21 21:17](https://github.com/crunchie84/teamcity.releasenotesfetcher/commit/c96e213a1c54d5d0ff47b91c7c163928b4b389c4)

this is my commit (oldest)


## [johndoe - 2014-07-21 22:27](https://github.com/crunchie84/teamcity.releasenotesfetcher/commit/c96e213a1c54d5d0ff47b91c7c163928b4b389c4)

this is my commit (little newer)


## [johndoe - 2014-07-21 23:37](https://github.com/crunchie84/teamcity.releasenotesfetcher/commit/c96e213a1c54d5d0ff47b91c7c163928b4b389c4)

this is my commit (newest)

Output (no changes)

## No changes found for TeamCity build 1234

https://github.com/crunchie84/teamcity.releasenotesfetcher

About

CommandLine tool to fetch releasenotes based on teamcity buildId

License:GNU General Public License v2.0


Languages

Language:C# 100.0%