Skip to content

Sonar analysis result in not showing for successful Quality Gate in GitLab #293

@vbhvjari

Description

@vbhvjari

Hi,

We are using GitLab plugin (version: 4.1.0-SNAPSHOT) in SonarQube 7.9.6.

We have used below properties to get sonar analysis result in GitLab:

-Dsonar.gitlab.unique_issue_per_inline=true 
-Dsonar.gitlab.project_id=${CI_PROJECT_ID} 
-Dsonar.gitlab.ref_name=${CI_COMMIT_REF_NAME} 
-Dsonar.gitlab.commit_sha=${CI_COMMIT_SHA}

We are getting expected results for each commit in GitLab when Quality Gate fails.
Whereas we are not getting sonar analysis in GitLab at all when Quality gate passes successfully.

Is this expected behaviour or we are missing some configuration ?

Thanks,
Vaibhav Jariwala

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions