Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vbhvjari opened this issue Nov 25, 2021 · 0 comments
Open

Comments

@vbhvjari
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant