-
Notifications
You must be signed in to change notification settings - Fork 980
Closed
Description
Issue Type
- Bug Report
Summary
Currently, if a user has a script which uses "\n" character set in their task execution, the console log fails to parse and does not show up from this task onwards. This can easily be reproduced with the YAML file attached with the issue
Basic environment details
- Go Version: 18.7.0
- JAVA Version: Java8
- OS: MacOs
- Browser vendor and version (if relevant): Chrome
Steps to Reproduce
- Create a YAML pipeline using the attached YAML file
- Run the task. The console logs does not show up
- Inspect using the browser developer tools, you will observe parse failure error (attached)
- Edit the YAML file to remove "\n" from the task. The console log will now show up
Expected Results
The console logs should show up.
Actual Results
The console logs do not show up. There is a parse error
[sample-yaml-file.txt](https://github.com/gocd/gocd/files/2296105/sample-yaml-file.txt) [console.log](https://github.com/gocd/gocd/files/2296107/console.log)Reactions are currently unavailable

