Removing/Disabling the "Python run in Venv" block
We are trying to remove some auto-generated blocks in the messages to improve readability/require less clicks to view information.
In this specific case we are trying to diable the “Python run in Venv” block but it seems there is no option or roundabout way to do so. Sending a ##teamcity[blockClosed name='Python run in Venv'] service message seems to have no effect either.
Is there currently a way to remove (or exit out of) auto-generated indentations/blocks?
Thanks for any answers or confirmation that it's not possible!
Please sign in to leave a comment.
I assume this is about the build log output in the TeamCity UI; is this correct? Just to be on the same page, could you upload the screenshots to illustrate better what you want to achieve?
Best regards,
Anton
Yes that is correct.
When running a Python build step in an environment (venv in this case), it appears that TC will automatically generate a block with the name “Python run in Venv”:
As a slight improvement to our workflow, we would simply like to disable that extra block/indentation and have the content of that message block on the same level as “Process exited with code 0”
I haven't found an option to disable that behaviour and tried sending service messages like blockClosed and similar, trying to force closing the block.
Thanks for having a look!
I have confirmed that the default grouping of build log records is not customizable, and these service messages are for creating custom blocks rather than working with default ones.
Best regards,
Anton
Alright, thank you for confirming.