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
2,332 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,280 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
1,830 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,230 points
920 views
0 votes
1 answer
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 in Other DevOps Questions by Bhavitha
• 980 points
169 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
1,645 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,280 points
350 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
3,242 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP