I've applied PublishPullRequestMarkdownReportStep to a terraform plan job that I've got so that it's clear in the pull request what changes are being made. However, the report preview doesn't preserve line endings, so the terraform plan output looks messy.
Shamil commented 3 years ago
Actually, this is likely a problem with the import to markdown, since markdown requires HTML br to create line breaks. Maybe an intermediary formatter is needed?
Looks like it's actually a bash issue...
Robin Shenchanged state to 'Closed'3 years ago
Previous Value
Current Value
Open
Closed
Robin Shen commented 3 years ago
Either use <br> or insert blank lines in markdown to break lines in markdown. So I am closing as it is not a OneDev bug.
I've applied PublishPullRequestMarkdownReportStep to a terraform plan job that I've got so that it's clear in the pull request what changes are being made. However, the report preview doesn't preserve line endings, so the terraform plan output looks messy.