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