Skip to content

Conversation

@lemeurherve
Copy link
Member

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)

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 enabled auto-merge (squash) October 5, 2025 14:03
@lemeurherve lemeurherve disabled auto-merge October 5, 2025 14:03
@lemeurherve lemeurherve enabled auto-merge (squash) October 5, 2025 14:04
@lemeurherve lemeurherve merged commit b547b6d into jenkinsci:master Oct 5, 2025
12 checks passed
@lemeurherve lemeurherve deleted the bats-junit-formatter-on-ci-only branch October 5, 2025 14:22
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