Skip to content
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

Junit replaces newlines by {newline} #1594

Open
AlexisTM opened this issue May 20, 2022 · 0 comments · May be fixed by #1598
Open

Junit replaces newlines by {newline} #1594

AlexisTM opened this issue May 20, 2022 · 0 comments · May be fixed by #1598

Comments

@AlexisTM
Copy link

Hi, I am setting up a Jenkins pipeline.
The unit tests are executed with -ojunit to be processed by the Junit tool.

Once the tests failures are coming back to Github Checks, all the newlines are removed.
I can see it is supposed to be {newline}. Is there one config I forgot to allow Jenkins to replace that newline? Is it part of Junit standard?

In the meantime I am building the tests with a local version encoding \n and \r to the encoded equivalent instead of {newline}.
AlexisTM@8d90f3f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant