Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

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

Can someone help on this error…?

Hi,

Welcome to the community!

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.3 → 7.9.6 → 8.9.8 → 9.5 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.

 
Ann

Hello Ann, Thanks for your response.

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?”

I don’t think so it is a version issue,

please suggest/help.