title: How to execute SonarQube scanner in Jenkins Declarative Pipeline without Maven and Docker
body: <p>Does SonarQube scanner support BlueOcean pipeline plugin without maven and docker, if it does how does the script works in Jenkinsfile?</p>
  
  <p>I'm new to Jenkins and BlueOcean and have tried all the basic possible aspects available.</p>
  
  <p>If the SonarQube plugin did support Declarative:</p>
  
  <pre><code>pipeline {
    agent any
    stages {
      stage('SonarQube analysis') {
        tools {
          sonarQube 'SonarQube Scanner 2.8'
        }
        steps {
          withSonarQubeEnv('SonarQube Scanner') {
            sh 'sonar-scanner'
          }
        }
      }
    }
  }
  </code></pre>