-
Notifications
You must be signed in to change notification settings - Fork 13
Configure Static Code Analysis
| Main >Using Liquid for building your application> Using Liquid for building your application > Configure CI, CD and CT with Mono-Repo > Continuous Testing > Configure Static Code Analysis |
|---|
#Overview
The Liquid was configured with Sonar Cloud, this tool perform Code Analysis through rules e profiles predefined.
#Prerequesites
This documentation explain procedures to configure the Sonar Cloud to provide metrics of Code Analisys Static during Pull Request and Build tasks.
#Configure Build Pipeline with Sonar Cloud
Note: Before configure de Pipeline, the procedures of prerequisites would is realized, because this configuration depends of Endpoint created.
Note: This task must be configured before task build.
SonarCloud Service Endpoint: Endpoint created in VSTS with access in Sonar Cloud.
Organization: Organization provisioned on SonarCloud during configuration of Endpoint.
Project Key: Project identificator of SonarCloud with storage metrics.
Project Name: Friendly name of Project Key


Run Code Analysis - After build of Solutions, this task will analyze the source code based in rules and profiles of Sonar Cloud.

Publish Quality Gate Result - this step publish the metrics on Sonar Cloud which can be accessed by Sonar Cloud with link on build definition.
