How to get results of SonarQube

0 votes

I want SonarQube to return its result to analyze the result and do a  filter if the general not is greater than 97 or continue if its less. I'm using it in a pipeline I built. Any way that I can get result back?

Jun 8, 2018 in Other DevOps Questions by DragonLord999
• 8,450 points
3,005 views

1 answer to this question.

0 votes

You can use sonarqube quality gates which can be configured to fail the build in some event. Use a webhook to bridge sonarqube and jenkins for your pipeline to ask for quality gate status. Check a method called waitForQualityGate() which in my opinion can achieve exactly the thing you want, here.

answered Jun 8, 2018 by ajs3033
• 7,300 points

Related Questions In Other DevOps Questions

0 votes
1 answer

How to get issues count based on rules in a sonar project?

There are API docs in the footer ...READ MORE

answered May 4, 2018 in Other DevOps Questions by DareDev
• 6,890 points
2,780 views
0 votes
1 answer

How to get the most recent ebs snapshot using terraform datasource?

It's not available in the latest release ...READ MORE

answered Jul 9, 2018 in Other DevOps Questions by Atul
• 10,240 points
1,689 views
0 votes
1 answer

Unable to integrate SonarQube analysis results with VSTS Build Summary

This was caused by passing a null ...READ MORE

answered Jul 23, 2018 in Other DevOps Questions by Kalgi
• 52,360 points
1,346 views
0 votes
1 answer

How to include Different Types of Workitems in Boards of Azure DevOps?

Predefined backlog levels in Azure DevOps may ...READ MORE

answered Feb 11, 2022 in Other DevOps Questions by Bhavitha
• 1,000 points
1,560 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,924 views
+2 votes
1 answer
0 votes
1 answer

Copy log files to local machines using Jenkins

Try initializing the variables with values according ...READ MORE

answered May 2, 2018 in Other DevOps Questions by ajs3033
• 7,300 points
1,627 views
+1 vote
2 answers

Unable to build TFS project because files not found

Please make a folder in solution Nd ...READ MORE

answered May 17, 2019 in Other DevOps Questions by Shashikesh Mishra
4,700 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP