Adapter can sync new issues like bug, code_smell, vulnerability; can sync new and updated hotspots.
- SonarQube/SonarCloud is an open-source platform that has been developed by SonarSource for constant inspection of code quality.
- It performs static code analysis, which offers a detailed report of code smells, bugs, code duplications and vulnerabilities.
- SonarQube is meant to be integrated with on-premise solutions like GitHub Enterprise or BitBucket Server.
- SonarCloud is meant to be integrated with cloud solutions like GiHub.com or BitBucketCloud.
- It can sync newly created issues but cannot sync updated issues due to API Limitation.
- It can sync new and updated hotspots (It lists all the values coz doesnt have filter query).
- It works better in unidirectional sync (Keep the conflict management strategy as none so the cache values get synced).
- The pagination attribute has been enabled.
- Attached a business script to concatenate textRange, Component and message to make a consolidated description.
- Also attached images of icons and logos of sonarqube and sonarcloud; modify according to your usecase:)
- Copy paste the code from the groovy file.
- Provide a descriptive name.
- Select execution type as preMapValues.
- Associate it with sonar application.