当前位置:网站首页>Zadig + sonarqube, ensuring the safety of the development process
Zadig + sonarqube, ensuring the safety of the development process
2022-06-28 22:24:00 【InfoQ】
Project background
- Source code :koderover/zadig
- The goal is : For daily high-frequency changespkgScan the code under the directory , Sniff the code in time 「 Bad taste 」
How to use
System administrator : Integrate SonarQube
- Sign in SonarQube -> Click the account avatar in the upper right corner ->
My Account.

- Switch to
Securitypage , stayGenerate TokenFill in Token After the name, click... On the rightGeneratebutton .


- stay Zadig In order to access
System settings->Integrated management->Sonar Integrate, Fill in SonarQube Server address and Token Save after information .

The engineer : Configure code scanning


name:zadig-scan
Scan tool:SonarQube
Scanning environment:sonar:latest
Sonar Address: Integrated in the previous step SonarQube Server address
Code information:Zadig The code base
Parameter configuration: Reference resourcesSonarQube file, The configuration in this example is as follows :
# Sonar Parameters
sonar.projectKey=zadig-pkg
sonar.projectName=zadig-pkg
sonar.sources=./pkg
sonar.go.file.suffixes=.go other The engineer : Execute and analyze the results
perform 
see 

Webhook be triggered at any moment
- Configure code scanning , Add trigger .

- When an event that meets the trigger condition occurs ( such as pull request), Code scanning will be performed automatically , Reduce manual intervention costs .


The scanning results shall be fed back in time

边栏推荐
- Advanced workplace | understand the "entry" of position advantages
- IPv6 comprehensive experiment
- #yyds干货盘点# 解决剑指offer: 连续子数组的最大和(二)
- 代码复查
- oracle设置密码复杂度及设置超时退出的功能
- 【HackTheBox】dancing(SMB)
- 别再问我,UI自动化测试怎么做了……
- 彪马携手10KTF Shop启动其迄今为止规模首屈一指的Web3合作项目
- 2022-06-28: what does the following golang code output? A:true; B:false; C:panic; D: Compilation failed. package main import “fmt“ func main() {
- Get to know Alibaba cloud (Cloud Computing) - development history, technical architecture, region and availability zone!
猜你喜欢

2022-06-28: what does the following golang code output? A:true; B:false; C:panic; D: Compilation failed. package main import “fmt“ func main() {

共探数字技术与信息安全,第四届中俄数字论坛成功举办

这个简单的小功能,半年为我们产研团队省下213个小时

Use of axurer9 option group

How to advance data analysis from 1 to 10?

数据可视化中柱状图的实例应用,让乘风破浪公演结果一目了然

Deploy grafana to realize graphical monitoring

面试官:Redis中字符串的内部实现方式是什么?

时间序列预测系列文章总结(代码使用方法)

Zadig 面向开发者的自测联调子环境技术方案详解
随机推荐
穿越过后,她说多元宇宙真的存在
职业问诊 | 在数据分析面试中,这样做自我介绍才靠谱
Use of axurer9 master
Hyperjumptech/grule-rule-engine: rule engine implementation of golang
code review
Akamai acquires linode
C#/VB.NET 将PDF转为Excel
基于graph-linked embedding的多组学单细胞数据整合与调控推理
IC Nansha|AMD高级副总裁、大中华区总裁潘晓明:制程、架构、平台优化突破计算边界
【HackTheBox】dancing(SMB)
如何制作精美的图片
Common tool classes and Commons class libraries
台式机没声音怎么样才能解决
C#/VB. Net to convert PDF to excel
代码复查
昨天晚上失眠
Windows mysql5.7 enable binlog log
Redis+AOP+自定义注解实现限流
QtCreator5.15.0源码编译全过程记录
IPv6 comprehensive experiment