docker run --rm -e SONAR_TOKEN= -e SONAR_HOST_URL=“https://sonarcloud.io ” -v “${workingDir}:/usr/src” sonarsource/sonar-scanner-cli:latest -Dsonar.projectKey=something_${sourceRepoName} -Dsonar.organization=something-1 -Dsonar.qualitygate.wait=true -Dsonar.branch.name=${sourceBranch} -Dsonar.testExecutionReportPaths=/usr/src/reports/ut_report.xml
This docker above for Angular project
And the result showed like this:
even there is no code showed up
Please we really need this because our sonarqube’s license has been expired and it stop our current development, whole of our development.
Colin
(Colin)
June 21, 2024, 9:48am
2
Hey there.
In the upper right of your screenshot, it says the last analysis has a warning. What is it?
And also we cannot click the thumbnail showed below, before with sonarqube and all of our backend service already use sonarcloud (but not use docker) the thumbnail is clickable and bring us to the dashboard.
Colin
(Colin)
June 24, 2024, 12:15pm
4
Hey there
Gilbert Subay:
image1092×660 30.5 KB
I expect this is why your code isn’t showing up. What version of Typescript are you using, or is indicated in your /usr/src/e2e/tsconfig.json file?
Please raise a new thread about this.