Hey, I hope you could help me here.
I’m currently evaluating this tool and planning on proposing this to our company.
The problem is I can’t make it work on our Azure devOps pipeline
The project that I’m intending to scan is maven-java
I followed these steps as stated in the tool (Service connection to sonarcloud to DevOps is already done and verified)
- Select the SonarCloud endpoint.
- Select the SonarCloud organization
- In Choose the way to run the analysis, select Integrate with Maven or Gradle .
- Expand the Advanced section and replace the Additional Properties with the following snippet:
# Additional properties that will be passed to the scanner, # Put one key=value per line, example: # sonar.exclusions=**/*.bin sonar.projectKey=QATestOrg_Event-Report-Regression-Suite sonar.projectName=Event Report Regression Suite
Please ensure this task runs before your build step.
This task needs to run after your build step.
This task is not mandatory but will allow you to decorate your Pull Request.
If you plan not to use such a feature, you can omit it. Be aware that this task may increase your build time
At the end of my build, I keep getting on the warning message, no analyses were found for the project. Hope to hear from someone here really soon