Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 995 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 995 Bytes

sonarqube-change

This repo is to reproduce the issue described in:

Prerequisites

I had to use my company's repositories in build.gradle and settings.gradle while setting up this project. I tried setting up what I think would be usable outside my company, but otherwise just setup the appropriate repositories.

Additionally, set the appropriate sonarqube properties in build.gradle.

Steps to reproduce

  • gradle build
  • gradle sonarqube
  • git checkout -b sonarqube-test
  • Add a line in Main.tested(), e.g. a print statement just before the return statement
  • Commit the change
  • gradle build
  • gradle sonarqube -Dsonar.branch.name=sonarqube-test
  • Go to SonarQube and observe the issue