I need to load TeamCity build log from step(command line runner or another) to file. And I need to do it from build step. Any ideas how to do it?
Asked
Active
Viewed 889 times
1
-
1I'm not sure what you mean. Do you want to output the build log of a specific build step to a file? – Craig Curtis Oct 07 '14 at 00:35
-
My guess is that he wants to perform some custom metrics on his build. I'm attempting to do the same. The answer to this question looks promising. – Mike Cole Jan 25 '16 at 14:32
1 Answers
3
You could probably use Teamcity api to get log using wget or some other tool
http://teamcity.server/httpAuth/downloadBuildLog.html?buildId=NNNN

PotOfTea
- 213
- 3
- 12