title: Tasks support was removed in SonarQube 7.6
body: <p>I am trying to install <code>sonar-scanner-cli</code> using Dockerfile but getting the below error:</p>
  <pre><code>INFO: Scanner configuration file: /usr/lib/sonar-scanner/conf/sonar-scanner.properties
  INFO: Project root configuration file: NONE
  INFO: SonarScanner 4.4.0.2170
  INFO: Java 11.0.3 AdoptOpenJDK (64-bit)
  INFO: Linux 5.4.17-2011.0.7.el7uek.x86_64 amd64
  INFO: User cache: /root/.sonar/cache
  INFO: Scanner configuration file: /usr/lib/sonar-scanner/conf/sonar-scanner.properties
  INFO: Project root configuration file: NONE
  INFO: Analyzing on SonarQube server 7.7.0
  INFO: Load global settings
  INFO: Load global settings (done) | time=62ms
  INFO: Server id: BF41A1F2-AWoRdxW1J_VH_hnihanC
  INFO: User cache: /root/.sonar/cache
  INFO: Load/download plugins
  INFO: Load plugins index
  INFO: Load plugins index (done) | time=39ms
  INFO: Load/download plugins (done) | time=937ms
  INFO: ------------------------------------------------------------------------
  INFO: EXECUTION FAILURE
  INFO: ------------------------------------------------------------------------
  INFO: Total time: 2.300s
  INFO: Final Memory: 4M/17M
  INFO: ------------------------------------------------------------------------
  ERROR: Error during SonarScanner execution
  ERROR: Tasks support was removed in SonarQube 7.6.
  ERROR:
  ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
  </code></pre>
  <p>Here is my Dockerfile and <code>sonar-runner.properties</code> file:</p>
  <pre><code>FROM sonatypenexus.com:19443/ubuntu:20.04
  
  COPY ./nexus.list /etc/apt/sources.list.d/
  RUN mkdir -p /usr/lib/jvm; \
      apt update; \
      apt install -y openjdk-11-jdk;
  
  ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64
  ENV PATH $PATH:/usr/lib/jvm/java-11-openjdk-amd64/bin
  
  RUN echo $JAVA_HOME; \
      echo $PATH; \
      java -version;
  
  RUN apt install -y git;
  RUN apt-get install maven -y;
  RUN apt-get install docker.io -y;
  RUN docker --version;
  RUN apt-get install -y curl tmux htop sudo unzip wget;
  
  # Set timezone to CST
  ENV TZ=America/Chicago
  RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime &amp;&amp; echo $TZ &gt; /etc/timezone
  COPY ./sonar-scanner-cli-4.4.0.2170-linux.zip /usr/src/sonarscanner.zip
  
  WORKDIR /usr/src
  
  RUN unzip sonarscanner.zip &amp;&amp; \
      rm sonarscanner.zip &amp;&amp; \
      mv sonar-scanner-4.4.0.2170-linux /usr/lib/sonar-scanner &amp;&amp; \
    ln -s /usr/lib/sonar-scanner/bin/sonar-scanner /usr/local/bin/sonar-scanner
  
  ENV SONAR_RUNNER_HOME=/usr/lib/sonar-scanner
  COPY sonar-runner.properties /usr/lib/sonar-scanner/conf/sonar-scanner.properties
  ENTRYPOINT [&quot;sonar-scanner&quot;]
  CMD [&quot;-Dsonar.projectBaseDir=/usr/src&quot;]
  </code></pre>
  <p>Here is my sonar-runner.properties file:</p>
  <pre><code>sonar.host.url=http://uxunt:8080/sonarqube
  
  sonar.jdbc.url=jdbc:h2:tcp://sonarqube/sonar
  sonar.projectKey=MyProjectKey
  sonar.projectName=My Project Name
  sonar.projectVersion=1
  sonar.projectBaseDir=/usr/src
  sonar.sources=./
  </code></pre>