title: Feed jacoco coverage report to SonarQube using TeamCity but it shows 0% coverage
body: <p>I have a gradle project with some codes in <code>src/main/java</code> and some unit tests in <code>src/test/java</code></p>
  
  <p>Below is snippet from <strong>build.gradle</strong></p>
  
  <pre><code>apply plugin: "jacoco"
  
  sourceSets {
      main {
          java { srcDir 'src/main/java' }
      }
  }
  
  test {
      jacoco {
          append = false
          destinationFile = file("$buildDir/jacoco/jacocoTest.exec")
          classDumpDir = file("$buildDir/jacoco/classpathdumps")
      }
  }
  
  jacoco {
      toolVersion = "0.7.8"
  }
  
  jacocoTestReport {
      reports {
          xml.enabled false
          csv.enabled false
          html.destination "${buildDir}/reports/jacoco/jacocoHtml"
      }
  }
  </code></pre>
  
  <p>On TeamCity, I have 2 steps, first is Gradle step with command <code>gradle clean jacocoTestReport build</code> and second step is <strong>SonarQube runner</strong> with the following parameters:</p>
  
  <pre><code>-Dsonar.sources=%system.teamcity.build.checkoutDir%/src
  -Dsonar.java.binaries=%system.teamcity.build.checkoutDir%/build/classes
  -Dsonar.branch.name=%teamcity.build.branch%
  -Dsonar.jacoco.reportPaths=%system.teamcity.build.checkoutDir%/build/jacoco/jacocoTest.exec
  </code></pre>
  
  <p>However, on SonarQube dashboard, my project still shows to have <strong>0% Coverage</strong>. Please advise me if I feed <code>jacoco</code> coverage report correctly to SonarQube (Version 6.7)</p>