Your company is building a new solution in Java. The company currently uses a SonarQube server to analyze the code of .NET solutions. You need to analyze and monitor the code quality of the Java solution. Which task types should you add to the build pipeline?

QuestionsCategory: AZ-400Your company is building a new solution in Java. The company currently uses a SonarQube server to analyze the code of .NET solutions. You need to analyze and monitor the code quality of the Java solution. Which task types should you add to the build pipeline?
Admin Staff asked 7 months ago
Your company is building a new solution in Java.
The company currently uses a SonarQube server to analyze the code of .NET solutions.
You need to analyze and monitor the code quality of the Java solution.
Which task types should you add to the build pipeline?

A. Octopus

B. Chef

C. CocoaPods

D. Gradle








 

Suggested Answer: D

The Gradle build task now supports SonarQube analysis.
SonarQube analysis for Java.
In October 2016, we updated the Maven task to support SonarQube analysis (See The Maven build task now simplifies SonarQube analysis). This time, we are pleased to announce an updated Gradle task which makes it easy for Java developers using Gradle to trigger a SonarQube analysis in Visual Studio Team
Services.
Using the Gradle task with SonarQube.
Just as for Maven, we have added a Code Analysis section in which you can now check the ג€Run SonarQube Analysisג€ checkbox, which then shows more options.
 Reference Image
Reference:
https://devblogs.microsoft.com/devops/the-gradle-build-task-now-supports-sonarqube-analysis/

This question is in AZ-400 Exam
For getting Microsoft DevOps Engineer Expert Certificate


Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Microsoft. 
The website does not contain actual questions and answers from Microsoft's Certification Exams.
Trademarks, certification & product names are used for reference only and belong to Microsoft.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.