Analyzing with SonarScanner for MSBuild
https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+MSBuild
Features
The SonarScanner for MSBuild is the recommended way to launch a SonarQube or SonarCloud analysis for projects/solutions using MSBuild or dotnet command as build tool. It is the result of a collaboration between SonarSource and Microsoft.
SonarScanner for MSBuild is distributed as a standalone command line executable and as build steps for VSTS/TFS and a plugin for Jenkins.
It supports .Net Core multi-platform projects and it can be used on non-Windows platforms.
https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins
Features
This plugin lets you centralize the configuration of SonarQube server connection details in Jenkins global configuration.
Then you can trigger SonarQube analysis from Jenkins using standard Jenkins Build Steps to trigger analysis with:
- SonarQube Scanner
- SonarQube Scanner for Maven
- SonarQube Scanner for MSBuild
Once the job is complete, the plugin will detect that a SonarQube analysis was made during the build and display a badge and a widget on the job page with a link to the SonarQube dashboard as well as quality gate status.
Use
Analyzing with the SonarQube Scanner
Global Configuration
This step is mandatory if you want to trigger any of your SonarQube analyses with the SonarQube Scanner. You can define as many scanner instances as you wish. Then for each Jenkins job, you will be able to choose with which launcher to use to run the SonarQube analysis.
- Log into Jenkins as an administrator and go to Manage Jenkins > Global Tool Configuration
- Scroll down to the SonarQube Scanner configuration section and click on Add SonarQube Scanner. It is based on the typical Jenkins tool auto-installation. You can either choose to point to an already installed version of SonarQube Scanner (uncheck 'Install automatically') or tell Jenkins to grab the installer from a remote location (check 'Install automatically'):
如果配置了自动安装,但是没有立即进行,那么就按照下面的方式去立即执行
If you don't see a drop down list with all available SonarQube Scanner versions but instead see an empty text field then this is because Jenkins still hasn't downloaded the required update center file (default period is 1 day). You may force this refresh by clicking 'Check Now' button in Manage Plugins > Advanced tab.
相关文章
- What's the technical reason for "lookbehind assertion MUST be fixed length" in regex?
- For SameSite cookie with subdomains what are considered the same site?
- how to deal with "no such file error or diretory" error for a new programmer in QT creator
- C#【多线程篇】Parallel.For和for的效率比较(Paralle.Foreach和foreach比较类似)
- C#,排列组合的堆生成法(Heap’s Algorithm for generating permutations)算法与源代码
- A clojure DSL for system admin and deployment with many remote machines
- Guid is not updated for cluster with specified cluster id; need to wait for hosts in this cluster to come up
- IntelliJ IDEA For Mac 快捷键
- 《Amazon Aurora: Design Considerations for HighThroughput Cloud-Native Relational Databases》SIGMOD 2017 读后感
- 完美解决 No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
- No toolchains found in the NDK toolchains folder for ABI with prefix
- A Systematic Review of Virtual Reality Interfaces for Controlling and Interacting with Robots
- 论文阅读:Review of Deep Reinforcement Learning for Robot Manipulation
- 泡泡一分钟:Semi-Dense Visual-Inertial Odometry and Mapping for Quadrotors with SWAP Constraints
- Step by Step Recipe for Securing Kafka with Kerberos
- Using an Image for the Layer’s Content
- 论文《policy-gradient-methods-for-reinforcement-learning-with-function-approximation 》的阅读——强化学习中的策略梯度算法基本形式与部分证明
- arcgis api 3.x for js 热力图优化篇-不依赖地图服务(附源码下载)
- 怎么加 一个 hyperlink 到 e-mail template for CRM
- Solve VsVim Issue with Visual Studio for Mac: ClosePair(')')
- Solve Error: MissingSchemaError: Schema hasn't been registered for model "YourModel".
- 【bug修复】you must feed a value for placeholder tensor ‘Placeholder‘ with dtype float解决方案
- 《U^2-Net:Going Deeper with Nested U-Structure for Salient Object Detection》论文笔记
- 《SegFormer:Simple and Efficient Design for Semantic Segmentation with Transformers》论文笔记
- PDF头部报错:Evaluation Warning : The document was created with Spire.PDF for Java.
- Parallel.For循环与普通的for循环
- 论文阅读笔记Adversarial Learning with Mask Reconstruction for Text-GuidedImage Inpainting