1 comment
Comment actions Permalink

Hi,

No, there is no REST API command to get build id by git commit. Feel free to create new feature request in our tracker http://youtrack.jetbrains.com/issues/TW.
Using this request http://teamcity:8111/httpAuth/app/rest/changes?build=id:<buildId> you can get changes, which were included in this build. So going through all builds you can find which one includes needed git commit. Not rather good solution.

0

Please sign in to leave a comment.