Push Code Quality Reports to Pull Requests as Comments/Annotations
pending feedback
S
Shamrock green Newt
Problem
Teams migrating from Jenkins lose the ability to push code quality reports (FindBugs, PMD, Checkstyle, Coverage, CPD) directly to pull requests with delta comparisons against the base branch. Harness CI supports basic pass/fail status checks, but cannot post detailed report content to the PR interface.
Requested Functionality
Native integration to post code quality results directly to PRs in GitHub, GitLab, and Bitbucket:
PR Summary Comments — Post violation counts, coverage delta, and quality gate status
Inline Annotations — Flag specific lines where violations were detected
Delta Comparison — Show only new issues introduced vs. base branch
Configurable Thresholds — Define pass/fail criteria (e.g., fail if coverage drops >2%)
Report Format Support:
Coverage — JaCoCo, Cobertura, Istanbul
Static Analysis — PMD, Checkstyle, SpotBugs, ESLint, SARIF
Functional Tests — JUnit XML (Go, Python, Scala, Node.js, Java)
Business Value
Consolidates quality data where reviewers already work
Reduces context switching to external dashboards
Enables quality gate enforcement before merge
Provides Jenkins parity for enterprise migrations
Reference Implementations
Jenkins Warnings NG Plugin
SonarQube PR Decoration
Codecov PR Comments
Log In
s
shivkumar.loka
marked this post as
pending feedback
s
shivkumar.loka
Hey Nick
Thank you for providing details on this feature. We have planned a couple of features for the next quarter that will help deliver many of the functionalities you've requested above (coverage, functional tests, quality gates, and a quality hub that consolidates quality metrics in one place). These will be released incrementally, so please watch our release notes page for more updates. https://developer.harness.io/release-notes/continuous-integration
Thank you
Regards
Shivkumar Loka
Harness Product Team