Skip to content
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

Build log blocks #64

Open
andy-hugecalf opened this issue Jul 23, 2021 · 2 comments
Open

Build log blocks #64

andy-hugecalf opened this issue Jul 23, 2021 · 2 comments

Comments

@andy-hugecalf
Copy link

Hi,

I have noticed that in the build logs for Unity builds, the "Command line arguments" and "Initialize mono" sections of the log automatically get put into service message blocks (see images below). I know that we can create our own blocks by using blockOpened and blockClosed service messages, however I don't understand how these Unity logs are in their own blocks - is there some kind of log post processing which can put messages into groups?

Cheers,
Andy

image
image

@AaronZurawski
Copy link
Contributor

This plugin parses stdout from Unity and then adds its own TeamCity Service Messages when various string patterns are matched. The code for handling this as well as the various block classes can be found in src/main/kotlin/jetbrains/buildServer/unity/logging

A useful feature request might be to include the ability for custom blocks using the line status file that could take a regex to match the start and a regex to match the end.

@andy-hugecalf
Copy link
Author

Ah yes I see! Thanks for pointing out the files!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants