Code Analysis

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

CodeAnalysis resource is used with Sonar Integration and is a comprehensive code analysis tool capable of generating Sonar scan reports and capturing point-in-time metrics. It seamlessly integrates with Git resources, linking Sonar metrics to specific Git commits through runs.

Code Analysis YAML Schema

resources:
  - name: maven_app_sonar_report                              # name of the resource
    type: CodeAnalysis                                        # codeAnalysis resource to capture sonar scan report
    configuration:
      integration: SonarIntegration                           # name of the Sonar Integration

Tag

Description

Required/Optional

name

An alphanumeric string (underscores are permitted) that identifies the resource.

Required

type

It must be CodeAnalysis for this resource type.

Required

configuration

Specifies all configuration selections for the resource.

Required

integration

Name of the Sonar Integration.

Required