Skip to content

NUTCH-3085 Augment CI by adding code coverage and code quality reporting#898

Merged
lewismc merged 4 commits intoapache:masterfrom
lewismc:NUTCH-3085
Feb 22, 2026
Merged

NUTCH-3085 Augment CI by adding code coverage and code quality reporting#898
lewismc merged 4 commits intoapache:masterfrom
lewismc:NUTCH-3085

Conversation

@lewismc
Copy link
Member

@lewismc lewismc commented Feb 22, 2026

This PR is part # 2 of NUTCH-3085 and builds on #897

Fix JaCoCo report failure: The jacoco-report Ant target was scanning build/plugins/**/*.jar for class files, which inadvertently included third-party dependency JARs (Hadoop, Tika, etc.) deployed alongside plugin JARs. JaCoCo failed processing these. Changed to read .class files directly from plugin build directories (build/{plugin}/classes/) instead, excluding test classes.

Fix SonarCloud 404 and deprecation: Replaced the deprecated SonarSource/sonarcloud-github-action@master with SonarSource/sonarqube-scan-action@v5. Added PR/branch context resolution so the scanner knows whether to perform a pull request analysis or a branch analysis -- required because workflow_run events don't carry PR metadata automatically.

Finally, I bumped the Sonar java source version from 11 to 17

@lewismc lewismc self-assigned this Feb 22, 2026
@lewismc lewismc merged commit 21fd780 into apache:master Feb 22, 2026
9 checks passed
@lewismc lewismc deleted the NUTCH-3085 branch February 22, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant