title: SonarQube: Coverage on New Code never calculated
body: <p>I have set up SonarQube, Maven and Cobertura to upload unit test coverage at every build run. I want to use the differential views to get coverage for the delta (new code only).</p>
  
  <p>The coverage itself is successfully uploaded, and I can see the delta in lines of code. However, I can't get the "Coverage on new Code" to work. </p>
  
  <p>I tried different values for the leak period, including <code>previous_analysis</code> and <code>previous_version</code> (changing the version from 1.0 to 1.1 in the new analysis). I also used <code>-Dsonar.projectDate</code> to simulate a past date of analysis but still no luck.</p>
  
  <p>Any thoughts?</p>
  
  <p><a href="https://i.stack.imgur.com/SJG3l.png" rel="noreferrer"><img src="https://i.stack.imgur.com/SJG3l.png" alt="enter image description here"></a></p>