Pulling Build Error/Important Logs

Is there a way to extract only Important or Error messages from a build log?

I know of these two endpoints:

http://teamcity:8111/app/rest/problemOccurrences?locator=build:(BUILD_LOCATOR)

But this only gives problem type (i.e. test, exit code etc)

http://teamcity:8111/httpAuth/downloadBuildLog.html?buildId=.

But this downloads the whole build log.

Is there an api endpoint for this case or is there any identifier I can use in the build log to extract only important/error logs?

0
2 comments

Hi,

 

I'm afraid there is no such endpoint. Both of what you have found are the only options we currently provide. If you would like to see this, I can only recommend opening an issue in our tracker with a description of what exactly you would like to get and what the use case would be.

1
Avatar
Permanently deleted user

Hi Denis,

I see, that's unfortunate. I will open a issue for this then,

Thanks

0

Please sign in to leave a comment.