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,380 points
686 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,810 points
384 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 8, 2018 in Other DevOps Questions by Atul
• 10,240 points
255 views
0 votes
1 answer
0 votes
1 answer

Use vagrant to update $PATH of guest vm

Just try the below script: mvm.vm.provision :shell, :inline ...READ MORE

answered May 1, 2018 in Other DevOps Questions by shubham
• 6,890 points
71 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
181 views
0 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
55 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 16 in Other DevOps Questions by Shashikesh Mishra
590 views