Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find the TeamCity build that contains a given commit to git?

Tags:

git

teamcity

Context: a git commit is detected by TeamCity and an automatic build is started.

Given the git commit hash, and the TeamCity configuration, how do you find the build in the configuration that contains the commit, without having to inspect each build manually via the web UI?

like image 229
Phillip Ngan Avatar asked Aug 31 '14 22:08

Phillip Ngan


1 Answers

In TeamCity 9 there is a clean way to a get the build(s) which contains given git commit. Just use filtering!

Build Configuration -> Change Log tab -> Advanced search -> revision: <your git revision>
like image 130
aka_sh Avatar answered Oct 19 '22 18:10

aka_sh