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

Display JUnit test results as they appear #6091

Merged
merged 2 commits into from
Dec 23, 2021
Merged

Conversation

basil
Copy link
Member

@basil basil commented Dec 21, 2021

Extracting a useful piece of #4447 into its own PR.

Proposed changelog entries

N/A

Proposed upgrade guidelines

N/A

Submitter checklist

  • (If applicable) Jira issue is well described
  • Changelog entries and upgrade guidelines are appropriate for the audience affected by the change (users or developer, depending on the change). Examples
    • Fill-in the Proposed changelog entries section only if there are breaking changes or other changes which may require extra steps from users during the upgrade
  • Appropriate autotests or explanation to why this change has no tests
  • For dependency updates: links to external changelogs and, if possible, full diffs

Desired reviewers

@mention

Maintainer checklist

Before the changes are marked as ready-for-merge:

  • There are at least 2 approvals for the pull request and no outstanding requests for change
  • Conversations in the pull request are over OR it is explicit that a reviewer does not block the change
  • Changelog entries in the PR title and/or Proposed changelog entries are correct
  • Proper changelog labels are set so that the changelog can be generated automatically
  • If the change needs additional upgrade steps from users, upgrade-guide-needed label is set and there is a Proposed upgrade guidelines section in the PR title. (example)
  • If it would make sense to backport the change to LTS, a Jira issue must exist, be a Bug or Improvement, and be labeled as lts-candidate to be considered (see query).

@basil basil added the skip-changelog Should not be shown in the changelog label Dec 21, 2021
@timja timja self-requested a review December 21, 2021 01:24
}
}

// Once we've built, archive the artifacts and the test results.
stage("${buildType} Publishing") {
if (runTests) {
junit healthScaleFactor: 20.0, testResults: '*/target/surefire-reports/*.xml,war/junit.xml'
Copy link
Member

Choose a reason for hiding this comment

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

bit concerned that this will break checks api integration which is really nice:
jenkinsci/junit-plugin#320

Copy link
Member Author

Choose a reason for hiding this comment

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

So what is the next step Tim? Close this PR?

Copy link
Member

Choose a reason for hiding this comment

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

I'll take a look at the junit plugin in between form modernisation work and see how hard it would be to just properly integrate it or patch real time junit

Copy link
Member

Choose a reason for hiding this comment

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

I think this PR would likely integrate it already: jenkinsci/junit-realtime-test-reporter-plugin#12

Copy link
Member

Choose a reason for hiding this comment

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

I’m doing some testing on it and should have a release out by tomorrow so if we can just hold off till then that would be great (just want to make sure it’s viable)

Copy link
Member

@jglick jglick left a comment

Choose a reason for hiding this comment

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

Would be nice. Thanks @timja for helping to maintain this plugin.

Jenkinsfile Outdated Show resolved Hide resolved
Co-authored-by: Jesse Glick <[email protected]>
@timja
Copy link
Member

timja commented Dec 22, 2021

re-triggered good to go if it works

@basil
Copy link
Member Author

basil commented Dec 23, 2021

Has the feedback from this review and this review been addressed? If so, is there a reason this PR has not yet been approved?

@timja
Copy link
Member

timja commented Dec 23, 2021

Has the feedback from this review and this review been addressed? If so, is there a reason this PR has not yet been approved?

just hadn't had a chance to check it, 're-triggered good to go if it works' ...

@timja timja merged commit 86ce50e into jenkinsci:master Dec 23, 2021
@basil basil deleted the realtimeJunit branch December 23, 2021 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog Should not be shown in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants