I am getting below message in bitbucket server while trying to access pull request, after creating pull request. any suggestions please
"Was not able to fetch data for Sonar project "com.siriusxm.de:sirius_uwi_cuwi:project_OAC_EBILL:project_OAC_EBILL". Either the build is not finished yet, your pull request has not been analyzed or a non-existing Sonar project is referenced. You can configure the referenced Sonar project in the repository settings."
Why its appending project key(twice) instead of branch name "com.siriusxm.de:sirius_uwi_cuwi:project_OAC_EBILL:project_OAC_EBILL" and trying to pull the details from sonar server, which is not available.Ideally the sonar bit bucket server plugin should pull the analysis details with com.siriusxm.de:sirius_uwi_cuwi:project_OAC_EBILL:<branch name>.
My sonar qube properties in the gradle build is:
sonarqube {
properties {
property "sonar.sources", "${projectDir}/src,${projectDir}/WebContent/js/application,${projectDir}/WebContent/cuwi-ng"
property "sonar.projectKey", "com.siriusxm.de:sirius_uwi_cuwi:project-OAC_EBILL"
property 'sonar.branch', "feature/DE-810-gradle-task-to-retrieve-sms-version-new"
}
}