I want to return the results from a GIT command in my TeamCity build log. Unfortunately, I cannot using GIT commands within the Build Steps as the commands are not recognized. Any idea how I can return the results on my GIT command? Preferably, I would like to be able to pass the results to a parameter.
FYI, the git command I am using is to return the latest merged pull requests;
git log --grep="Merge pull request #[0-9]\+" --pretty=oneline -1