Skip to content

Conversation

@lemeurherve
Copy link
Member

@lemeurherve lemeurherve commented Oct 5, 2025

This PR removes the junit formatter and result storage when executing make test locally (as $CI is set to true by Jenkins when running on CI), for a better contributor experience:

  • Colored output
  • No XML markup
  • Test results displayed one after one instead of hanging until all tests passed
  • Possibility to cancel the running tests while still seing the first results (currently return printf: write error: Broken pipe on cancel)

Similar to:

Screenshots from the other PR

Before:
image

After:
image

Testing done

make test + CI

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

@lemeurherve lemeurherve requested a review from a team as a code owner October 5, 2025 14:28
@lemeurherve lemeurherve enabled auto-merge (squash) October 5, 2025 14:29
Copy link
Contributor

@MarkEWaite MarkEWaite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@lemeurherve lemeurherve merged commit a9f8e20 into jenkinsci:master Oct 5, 2025
10 checks passed
@lemeurherve lemeurherve deleted the bats-junit-formatter-on-ci-only branch October 5, 2025 16:45
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