title: How to get JaCoCo coverage with Sonar in Jenkins?
body: <p>I followed the instructions <a href="http://docs.sonarqube.org/display/SONAR/Jenkins+Plugin" rel="nofollow">here</a><br>
  I am NOT using Maven. </p>
  
  <p>My Jenkins job output says:
  12:32:33.951 INFO  Sensor JaCoCoSensor...
  12:32:33.961 INFO  Project coverage is set to 0% as no JaCoCo execution data has been dumped: /var/lib/jenkins/workspace/SeqGen/SeqGen/jacoco.exec
  12:32:35.152 INFO  Sensor JaCoCoSensor done: 1201 ms</p>
  
  <p>Here are my properties:</p>
  
  <pre><code>project.home=SeqGen
  sonar.projectKey=com.skyboximaging:seqgen
  sonar.projectName="SeqGen"
  sonar.projectVersion=1.0
  sonar.dynamicAnalysis=true
  sources=src/java
  tests=test/java
  binaries=classes
  sonar.jacoco.reportPath=jacoco.exec
  sonar.jacoco.antTargets=test-with-coverage
  </code></pre>
  
  <p>On the Sonar server, I set General Settings > Code Coverage > Code coverage plugin to jacoco</p>
  
  <p>I am very confused by the documentation at <a href="http://docs.codehaus.org/display/SONAR/Code+coverage+plugins" rel="nofollow">http://docs.codehaus.org/display/SONAR/Code+coverage+plugins</a>  I am particularly puzzled by this sentence: 
      "During Sonar analysis, the Sonar Jacoco plugin will take care to attach the Jacoco agent to the JVM and to launch the unit tests."</p>
  
  <p>As far as I can tell, my Ant target is not getting invoked. How does the Sonar Jacoco plugin know where to find my build.xml?</p>
  
  <p>What am I doing wrong?</p>