We have this task which is running quite long with out any issues. But suddenly we are facing below error. there is no recent update from sonar server or from the applicaiton end. We are using openjdk8 to build and push.
Task :sonarqube FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:sonarqube’.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Sonar Server: Community Edition Version 7.9.6
Sonar plugin: id ‘org.sonarqube’ version ‘2.7’
command: ./gradlew -b ./build.gradle sonarqube -Dsonar.projectVersion=1.0.0-41 -Dsonar.branch.name=master
We have sonar property in build file which has key and name.