title: Wrong projectKey with Jenkins Build on Sonar Analysis
body: <p>I'm having some trouble and I'm trying to fix my Jenkins builds.</p>
  
  <p>I use it to build the same project but different branches. So, to separate the result for the Sonar analysis.</p>
  
  <p>In the Build tab from my project, the options I set are : <code>clean install -DtestFailureIgnore sonar:sonar -Dsonar.projectKey=MY_PROJECT_KEY</code></p>
  
  <p>For some builds, it just works perfectly fine, and for some others, my project key in Sonar become <code>groupId:artifactId</code> using the <code>pom.xml</code> data, and it makes Sonar mixing some of the branches.</p>
  
  <p>Does anyone know how to help about that problem?</p>
  
  <p>Sonar version: <code>5.4</code></p>
  
  <p>Jenkins version: <code>1.651.1</code></p>