{"id":128120,"date":"2018-11-23T10:08:13","date_gmt":"2018-11-23T02:08:13","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=128120"},"modified":"2018-11-19T09:12:28","modified_gmt":"2018-11-19T01:12:28","slug":"sonarqubedevops","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/sonarqubedevops.html","title":{"rendered":"SonarQube \u89e3\u51b3\u4e86\u4ee3\u7801\u8ffd\u8e2a\u95ee\u9898"},"content":{"rendered":"

\u901a\u8fc7\u4e0d\u65ad\u5206\u6790\u4ee3\u7801\u4ee5\u4e86\u89e3\u6f5c\u5728\u7684\u8d28\u91cf\u95ee\u9898\uff0c\u5f00\u6e90\u7684 SonarQube \u9879\u76ee\u652f\u6301\u4e86 DevOps \u7684\u201c\u5c3d\u65e9\u53d1\u5e03\u548c\u7ecf\u5e38\u53d1\u5e03\u201d \u7684\u601d\u7ef4\u6a21\u5f0f\u3002<\/p>\n

\u8d8a\u6765\u8d8a\u591a\u7684\u7ec4\u7ec7\u6b63\u5728\u5b9e\u65bd DevOps \u4ee5\u4fbf\u5728\u901a\u8fc7\u4e2d\u95f4\u5f00\u53d1\u548c\u6d4b\u8bd5\u73af\u5883\u4ee5\u540e\u66f4\u5feb\u66f4\u597d\u7684\u5c06\u65b0\u4ee3\u7801\u5f15\u5165\u5230\u751f\u4ea7\u73af\u5883\u3002\u867d\u7136\u7248\u672c\u63a7\u5236\u3001\u6301\u7eed\u96c6\u6210\u548c\u90e8\u7f72\u4ee5\u53ca\u81ea\u52a8\u5316\u6d4b\u8bd5\u90fd\u5c5e\u4e8e DevOps \u7684\u8303\u7574\uff0c\u4f46\u4ecd\u7136\u5b58\u5728\u4e00\u4e2a\u5173\u952e\u95ee\u9898\uff1a\u7ec4\u7ec7\u5982\u4f55\u91cf\u5316\u4ee3\u7801\u8d28\u91cf\uff0c\u800c\u4e0d\u4ec5\u4ec5\u662f\u90e8\u7f72\u7684\u901f\u5ea6\uff1f<\/p>\n

SonarQube \u662f\u7528\u6765\u586b\u8865\u8fd9\u4e2a\u7a7a\u9699\u7684\u4e00\u79cd\u9009\u62e9\u3002\u5b83\u662f\u4e00\u4e2a\u5f00\u6e90\u5e73\u53f0\uff0c\u901a\u8fc7\u4ee3\u7801\u7684\u81ea\u52a8\u5316\u9759\u6001\u5206\u6790\u4e0d\u65ad\u7684\u68c0\u67e5\u4ee3\u7801\u8d28\u91cf\u3002 SonarQube \u652f\u6301 20 \u591a\u79cd\u8bed\u8a00\u7684\u5206\u6790\uff0c\u5e76\u5728\u5404\u79cd\u7c7b\u578b\u7684\u9879\u76ee\u4e2d\u8f93\u51fa\u548c\u5b58\u50a8\u95ee\u9898\u3002<\/p>\n

SonarQube \u540c\u65f6\u4e5f\u63d0\u4f9b\u4e86\u4e00\u4e2a\u53ef\u540c\u65f6\u7ef4\u62a4\u548c\u7ba1\u7406\u4e0d\u540c\u9879\u76ee\u3001\u4e0d\u540c\u4ee3\u7801\u7684\u96c6\u4e2d\u7684\u73af\u5883\u3002\u53ef\u4ee5\u4e3a\u6bcf\u4e2a\u9879\u76ee\u5b9a\u5236\u89c4\u5219\u3002\u6301\u7eed\u7684\u68c0\u67e5\u548c\u5206\u6790\u4ee3\u7801\u7684\u5065\u5eb7\u8f68\u8ff9\u3002<\/p>\n

SonarQube \u8fd8\u53ef\u4ee5\u96c6\u6210\u5230\u53ef\u6301\u7eed\u96c6\u6210\u548c\u5f00\u53d1\uff08CI\/CD\uff09\u6d41\u7a0b\u4e2d\uff0c\u534f\u52a9\u548c\u81ea\u52a8\u786e\u5b9a\u4ee3\u7801\u662f\u5426\u4e3a\u751f\u4ea7\u73af\u5883\u505a\u597d\u4e86\u51c6\u5907\u7684\u8fc7\u7a0b\u3002<\/p>\n

\"\"<\/p>\n

\u5b83\u53ef\u4ee5\u8861\u91cf\u4ec0\u4e48<\/strong><\/div>\n

\u5f00\u7bb1\u5373\u7528\uff0cSonarQube \u53ef\u4ee5\u6d4b\u91cf\u7684\u5173\u952e\u6307\u6807\uff0c\u5305\u62ec\u4ee3\u7801\u9519\u8bef\u3001\u4ee3\u7801\u5f02\u5473code smells\u3001\u5b89\u5168\u6f0f\u6d1e\u548c\u91cd\u590d\u7684\u4ee3\u7801\u3002<\/p>\n