title: Why Jenkins requires login password for sonar 6.2?
body: <p>Using pipeline code, </p>
  
  <pre><code>withSonarQubeEnv {
          dir ('/mydirectory/') {
              sh "'${mvnHome}/bin/mvn' org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar -Dsonar.projectKey=somemykey -Dsonar.projectName=somemyname"
          }
  </code></pre>
  
  <p>Which outputs:</p>
  
  <pre><code>Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli) on project myproject: Not authorized. Please check the properties sonar.login and sonar.password.
  </code></pre>
  
  <p>If that is expected behavior then how to avoid pasting login and password? If not what is the root cause of it? Is it a problem with Sonar server configuration?</p>