在sonar國內鏡像網站下載對應版本,版本不要太高,否則容易出現(xiàn)"sonar Failed to dynamically deploy this plugin"錯誤
http://mirrors.tuna.tsinghua.edu.cn/jenkins/plugins/sonar/
在系統(tǒng)管理--管理插件如下圖
Paste_Image.png
再進入高級:
Paste_Image.png
點擊上傳后會自動安裝,出現(xiàn)如下圖即可
Paste_Image.png
這只是安裝成功了。
下面具體需要配置:
選擇 系統(tǒng)管理-系統(tǒng)設置,進入
Paste_Image.png
下面就add即可,具體參數(shù)根據(jù)個人業(yè)務情況配置
Paste_Image.png