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

Use stderr rather than stdout for RealJenkinsRule & TailLog #908

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

jglick
Copy link
Member

@jglick jglick commented Jan 23, 2025

The junit plugin displays stdout & stderr separately, following the separated streams in Surefire TEST-*.xml. This is just confusing when you are trying to see the sequence of events: you need to mentally collate by timestamp to reconstruct the log you would see from mvn test -Dtest=… output (compare https://github.com/jenkinsci/plugin-pom/blob/8561e2e8c77c344d0465ec6c77e2e3eedc927c00/pom.xml#L1070-L1080) particularly if the output includes a mixture of Logger lines from the Surefire JVM and the Jenkins JVM.

@jglick jglick requested a review from Vlatombe January 23, 2025 22:36
@jglick jglick merged commit f1281ba into jenkinsci:master Jan 24, 2025
15 checks passed
@jglick jglick deleted the stderr branch January 24, 2025 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants