Skip to content

Accompanying repo to tutorial video where you’ll discover how to apply the Jacoco plugin to your project and run a SonarQube scan in order to generate a code coverage report for a Gradle Java project.

Notifications You must be signed in to change notification settings

annelketcha/sonarqube-jacoco-code-coverage

Repository files navigation

Repository to go along with the How To Test Code Coverage Using SonarQube and Jacoco article at tomgregory.com.

Pre-requisites

  • Docker

Running

Running SonarQube

./gradlew dockerComposeUp

This will run SonarQube at locahost:9000.

Running a SonarQube scan

./gradlew sonarqube

Stopping

docker-compose down

(unfortunately the Palantir Gradle plugin doesn't provide a dockerComposeDown task so we have to run the docker-compose command directly)

About

Accompanying repo to tutorial video where you’ll discover how to apply the Jacoco plugin to your project and run a SonarQube scan in order to generate a code coverage report for a Gradle Java project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages