We are using Sonarqube -Community Edition Version 7.3 (build 15553) and Free style job.
Sonar step in Jenkins file
stage (‘Sonar’) {
steps {
sh “${mvnHome}/bin/mvn sonar:sonar” ‘mvn sonar:sonar -Dsonar.host.url=http://dex-jenkins-cs-320253335.us-east-1.elb.amazonaws.com -Dsonar.login=43dab2adf4533aa1b0ffc9f50ffea2bcfd’
}
}
Error
[BrowserStack] BROWSERSTACK_BUILD_NAME=jenkins-DEX-Dex_Automation-95
[BrowserStack] BROWSERSTACK_LOCAL=false
WARN: Unable to locate ‘report-task.txt’ in the workspace. Did the SonarScanner succeed?
[BrowserStack] BROWSERSTACK_USERNAME=dehgrfkjhmation_g89ferk
Today also i have configured for few of applications and current version (Community Edition Version 7.3 (build 15553)) supporting and working fine. Only for the above application getting an error like “Unable to locate ‘report-task.txt’ in the workspace. Did the SonarScanner succeed?”