1

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?

M4N
  • 94,805
  • 45
  • 217
  • 260
IComparable
  • 71
  • 1
  • 1
  • 10
  • 1
    I'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 Answers1

3

You could probably use Teamcity api to get log using wget or some other tool

http://teamcity.server/httpAuth/downloadBuildLog.html?buildId=NNNN

TeamCity Api

PotOfTea
  • 213
  • 3
  • 12