TeamCity 7.x Escape Characters

I'm echoing the following message to teamcity:

+echo ##teamcity[testStdOut name='V_H264orONVIF' out=' (Optional Action) Validating AttributeRegEx (Text~^|'H264.||h264.^|') on item.']+

The expected output is:

+ (Optional Action) Validating AttributeRegEx (Text~'H264.|h264.') on item.+

but the message gets truncated and I get:

+##teamcity[testStdOut name='V_H264orONVIF' out=' (Optional Action) Validating AttributeRegEx (Text~|'H264.+*

for some reason the vertical bar is not being processed in the right way.
We are using TeamCity 7.1.4 (build 24331).

Should we report this as a defect?

Thank you

---
Original message URL: http://devnet.jetbrains.net/message/5510839#5510839

Please sign in to leave a comment.