ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
I am using AWS Codepipleine with a stage in the pipeline for sonar cloud. It has been working for months but now failing with the error above. I am wondering what is the fix for this exactly?
This is what the Buildspec looks like for reference:
version: 0.2
env:
variables:
SONAR_SCANNER_VERSION: 4.4.0.2170
SONAR_SCANNER_HOME: $HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux
SONAR_SCANNER_OPTS: -server
phases:
install:
commands:
- curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip
- unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/
build:
commands:
- $HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux/bin/sonar-scanner -Dsonar.organization=randall-reilly-eda -Dsonar.projectKey=$SONAR_SCANNER_PROJECT_KEY -Dsonar.sources=. -Dsonar.cfamily.build-wrapper-output=bw-output -Dsonar.host.url=https://sonarcloud.io -Dsonar.scm.enabled=false -Dsonar.login=$SONAR_TOKEN