title: What is the difference between running maven goals from console and from jenkins
body: <p>What is the difference between executing build with <code>mvn clean install</code> and running jenkins job with maven goal <code>clean install</code>? </p>
  
  <p>I'm running:</p>
  
  <p><code>mvn sonar:sonar -Dsonar.jacoco.itReportPath=target/jacoco-integration.exec</code></p>
  
  <p>and it works as expected but adding following maven goal to jenkins works differently.</p>
  
  <p><code>sonar:sonar -Dsonar.jacoco.itReportPath=target/jacoco-integration.exec</code> </p>
  
  <p>I figured out, that jenkins executes builds as jenkins user, but is that all?</p>