-
-
Notifications
You must be signed in to change notification settings - Fork 130
maint(web): escape single quotes in TC service messages 🎼 #15374
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
Conversation
User Test ResultsTest specification and instructions User tests are not required Test Artifacts
|
0101508 to
e0b582a
Compare
This fixes a problem where TC shows an error because it can't find the end of the service message for a failed test. Single quotes (and some other characters) have to be escaped with `|'` inside of a message. Build-bot: skip:all build:web Test-bot: skip
e0b582a to
0dbbcc4
Compare
rc-swag
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Does getTestResult only get sent to TC. The reason I ask is we aren't sending the error to stdout on bash or something which would expect standard escape '' characters?
mcdurdin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we have other reporters that need this escaping too?
See: https://www.jetbrains.com/help/teamcity/service-messages.html#Escaped+Values. Follow-up-of: #15374 Build-bot: skip:all build:web Test-bot: skip
Most reporters already do that. #15384 adds some missing values to |
chore(web): escape some additional values in TC service messages See: jetbrains.com/help/teamcity/service-messages.html#Escaped+Values. Follow-up-of: #15374
This fixes a problem where TC shows an error because it can't find the end of the service message for a failed test. Single quotes have to be escaped with
|'inside of a message, as well as some other characters.Build-bot: skip:all build:web
Test-bot: skip