-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing the "tcFriendlyMessage image" from TeamCity log #324
Comments
I followed the code and I am 90% sure that if you set this to false, screenshots wont be taken, and wont be put in your messages. https://github.com/lefthandedgoat/canopy/blob/master/src/canopy/configuration.fs#L71 Images in tc messages exist btw because using some tricks you can have failure images embedded into your team city report. I have a gist on how to do it if you are interested. |
Maybe you misunderstood me. I need the screenshots to stay, but don't want the image being dumped as a string to appear in the log. Here is a sample of what I get in my TeamCity logs which is making the logs very huge:
|
You want the images written to a file and saved as a png but not in the console? I would have to add a flag for that to disable TC images. The only way to that I know of to get inline images in TC is to write them to the console like that. |
A flag would be great. I'm not interested in inlined images in TC report. |
ok cool I can do that for ya |
Thanks a lot. |
You can find a new package here: https://www.nuget.org/packages/canopy/1.0.7
|
If the image capturing is enabled and there are many images captured, then dumping the content of these into the text stream of the reporter is making the generated report huge.
Is there a way to disable this image dump (the code:
tcFriendlyMessage image
) in the TeamCity reporter?The text was updated successfully, but these errors were encountered: