title: Sonarqube configuration in jenkins for windows
body: <p>I am trying to integrate Sonarqube in Jenkins for windows.</p>
  
  <p>I have installed Jenkins 2.138.2 and Sonarqube scanner plugin version 2.8.1</p>
  
  <p>Also installed Sonarqube-7.3 and added it to path variable.</p>
  
  <p>Below is my configuration in Jenkins:</p>
  
  <ul>
  <li><p>Under "Global Tool Configuration", for SonarQube Scanner
  installations - I have selected "Install automatically" and choose
  "Install from Maven Central".</p></li>
  <li><p>Under "Configure System", I have specified name and server url for
  Sonarqube servers.</p></li>
  <li><p>For the job, I have selected "Sonarqube analysis with Maven" under
  post build action step(shows this is deprecated).</p></li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/tASvV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tASvV.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/OFwvX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OFwvX.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/CEDt9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CEDt9.png" alt="enter image description here"></a></p>
  
  <p>I am getting the below error.</p>
  
  <p>WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succedeed?
  SonarQube analysis completed: FAILURE
  Build step 'SonarQube analysis with Maven' changed build result to FAILURE
  Build step 'SonarQube analysis with Maven' marked build as failure</p>
  
  <p>Is there anything wrong with the configuration.</p>
  
  <p>Edit: Added job configuration screenshots.</p>