{"id":64419,"date":"2026-01-23T14:16:40","date_gmt":"2026-01-23T06:16:40","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/64419.html"},"modified":"2026-01-23T14:16:40","modified_gmt":"2026-01-23T06:16:40","slug":"%e4%bb%a3%e7%a0%81%e6%89%ab%e6%8f%8f-sonar-scanner-cli%e5%b7%a5%e5%85%b7%e4%bd%bf%e7%94%a8%e3%80%81sonarqube%e9%85%8d%e7%bd%ae%e4%b8%8e%e4%b8%8a%e4%bc%a0%e5%88%86%e6%9e%90","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/64419.html","title":{"rendered":"\u4ee3\u7801\u626b\u63cf -sonar-scanner-cli\u5de5\u5177\u4f7f\u7528\u3001SonarQube\u914d\u7f6e\u4e0e\u4e0a\u4f20\u5206\u6790"},"content":{"rendered":"<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>\u524d\u8a00<\/li>\n<li>\n<ul>\n<li>\u4ee3\u7801\u626b\u63cf -sonar-scanner-cli\u5de5\u5177\u4f7f\u7528\u3001SonarQube\u914d\u7f6e&#xff0c;\u4e0e\u4e0a\u4f20\u5206\u6790<\/li>\n<li>\n<ul>\n<li>1. SonarQube \u90e8\u7f72\u3001\u6c49\u5316<\/li>\n<li>2. sonar-scanner-cli\u5de5\u5177\u4e0b\u8f7d<\/li>\n<li>3. sonar-scanner-cli \u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/li>\n<li>4. SonarQube \u914d\u7f6e<\/li>\n<li>5. sonar-scanner-cli \u4f7f\u7528<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>\u524d\u8a00<\/h2>\n<p>\u2003\u2003\u5982\u679c\u60a8\u89c9\u5f97\u6709\u7528\u7684\u8bdd&#xff0c;\u8bb0\u5f97\u7ed9<font color=\"#cc0d1f\" face=\"\u5fae\u8f6f\u96c5\u9ed1\">\u535a\u4e3b\u70b9\u4e2a\u8d5e&#xff0c;\u8bc4\u8bba&#xff0c;\u6536\u85cf\u4e00\u952e\u4e09\u8fde\u554a<\/font>&#xff0c;\u5199\u4f5c\u4e0d\u6613\u554a^ _ ^\u3002 \u2003\u2003\u800c\u4e14\u542c\u8bf4<font color=\"#0099ff\" face=\"\u5fae\u8f6f\u96c5\u9ed1\">\u70b9\u8d5e\u7684\u4eba\u6bcf\u5929\u7684\u8fd0\u6c14\u90fd\u4e0d\u4f1a\u592a\u5dee<\/font>&#xff0c;\u5b9e\u5728\u767d\u5ad6\u7684\u8bdd&#xff0c;\u90a3\u6b22\u8fce\u5e38\u6765\u554a!!!<\/p>\n<hr size=\"1&#034;\" \/>\n<h3>\u4ee3\u7801\u626b\u63cf -sonar-scanner-cli\u5de5\u5177\u4f7f\u7528\u3001SonarQube\u914d\u7f6e&#xff0c;\u4e0e\u4e0a\u4f20\u5206\u6790<\/h3>\n<p>SonarQube \u662f \u201c\u4ee3\u7801\u8d28\u91cf\u5206\u6790\u5e73\u53f0\u201d&#xff08;\u670d\u52a1\u7aef&#xff0c;\u7528\u6765\u5c55\u793a\u3001\u7ba1\u7406\u4ee3\u7801\u62a5\u544a&#xff09;\u3002 sonar-scanner-cli \u662f \u201c\u4ee3\u7801\u626b\u63cf\u5de5\u5177\u201d&#xff08;\u5ba2\u6237\u7aef&#xff0c;\u7528\u6765\u626b\u63cf\u672c\u5730\u4ee3\u7801\u5e76\u628a\u7ed3\u679c\u4f20\u7ed9 SonarQube&#xff09;<\/p>\n<h4>1. SonarQube \u90e8\u7f72\u3001\u6c49\u5316<\/h4>\n<p>SonarQube \u90e8\u7f72\u3001\u6c49\u5316<\/p>\n<h4>2. sonar-scanner-cli\u5de5\u5177\u4e0b\u8f7d<\/h4>\n<p>https:\/\/docs.sonarsource.com\/sonarqube-server\/analyzing-source-code\/scanners\/sonarscanner<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061632-69731240bca6f.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u4e0b\u8f7d\u6210\u529f\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061633-697312412377e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>3. sonar-scanner-cli \u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/h4>\n<p>\u628a\u4e0b\u8f7d\u7684 sonar-scanner-cli-7.1.0-windows-x64.zip \u89e3\u538b\u5230\u4e00\u4e2a\u56fa\u5b9a\u8def\u5f84&#xff0c;\u6bd4\u5982 F:\\\\sonar-scanner\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061633-6973124141bf6.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> sonar-scanner-cli \u914d\u7f6e\u73af\u5883\u53d8\u91cf&#xff08;Windows&#xff09; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061633-69731241632d8.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> path\u91cc\u65b0\u52a0 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061633-697312419c914.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>4. SonarQube \u914d\u7f6e<\/h4>\n<p>\u4ee3\u7801\u8d28\u91cf\u5206\u6790\u5e73\u53f0 &#8211; SonarQube\u5148\u521b\u5efa\u4e00\u4e2a\u9879\u76ee&#xff0c;\u7528\u6765\u628a\u626b\u63cf\u672c\u5730\u4ee3\u7801\u7684\u7ed3\u679c\u4f20\u7ed9 SonarQube\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061633-69731241bb4dc.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061634-6973124255246.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u70b9\u51fb\u672c\u5730. <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061634-697312426f4f4.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u521b\u5efa\u4ee4\u724c\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061635-697312430b179.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u6ce8\u610f\u7684\u662f\u5c06token\u8bb0\u4f4f\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061635-697312435b176.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u9000\u56de\u6211\u4eec\u521a\u521a\u521b\u5efa\u7684\u9879\u76ee\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061635-69731243912de.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u914d\u7f6e\u8d28\u91cf\u914d\u7f6e\u3001\u9876\u90e8\u5bfc\u822a\u680f\u70b9\u51fb \u8d28\u91cf\u914d\u7f6e \u2192 \u8bed\u8a00\u7b5b\u9009\u4e3a Java\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061636-697312442b451.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u70b9\u51fb\u590d\u5236&#xff0c;\u907f\u514d\u5f71\u54cd\u73b0\u6709\u914d\u7f6e\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061636-69731244982f0.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u8fdb\u5165\u540e\u70b9\u51fb\u66f4\u591a\u6fc0\u6d3b\u89c4\u5219\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061636-69731244c44c2.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u8fdb\u5165\u4e0b\u9762\u9875\u9762\u540e&#xff0c;\u53ef\u4ee5\u770b\u5230\u7ea2\u6846\u5904\u641c\u7d22&#xff0c;\u641c\u7d22\u4f60\u60f3\u8981\u6fc0\u6d3b\u7684\u89c4\u5219\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061637-6973124556886.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/>\u9009\u62e9\u4f60\u8981\u6fc0\u6d3b\u7684\u89c4\u5219&#xff0c;\u6fc0\u6d3b\u540e&#xff0c;\u70b9\u51fb\u9879\u76ee\u914d-&gt;\u8d28\u91cf\u914d\u7f6e\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061637-69731245de91e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u70b9\u51fb\u6dfb\u52a0\u8bed\u8a00&#xff0c;\u9009\u62e9java&#xff0c;\u914d\u7f6e\u9009\u62e9\u521a\u521a\u65b0\u5efa\u7684PDM\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061638-69731246707db.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>5. sonar-scanner-cli \u4f7f\u7528<\/h4>\n<p>\u5728\u4f60\u7684 Java \u9879\u76ee\u6839\u76ee\u5f55\u4e0b&#xff0c;\u65b0\u5efa\u4e00\u4e2a sonar-project.properties <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061638-69731246de899.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5185\u5bb9\u5982\u4e0b:<\/p>\n<p><span class=\"token comment\"># 1. \u9879\u76ee\u6807\u8bc6&#xff08;\u548cSonarQube\u91cc\u521b\u5efa\u7684\u9879\u76eeKey\u4e00\u81f4&#xff09;<\/span><br \/>\nsonar.projectKey<span class=\"token operator\">&#061;<\/span>test<br \/>\n<span class=\"token comment\"># 2. \u9879\u76ee\u540d\u79f0&#xff08;\u81ea\u5b9a\u4e49&#xff09;<\/span><br \/>\nsonar.projectName<span class=\"token operator\">&#061;<\/span>Java-20260122<br \/>\n<span class=\"token comment\"># 3. SonarQube\u670d\u52a1\u5730\u5740<\/span><br \/>\nsonar.host.url<span class=\"token operator\">&#061;<\/span>http:\/\/127.0.0.1:9000<br \/>\n<span class=\"token comment\"># 4. \u9879\u76eeToken&#xff08;\u66ff\u6362\u6210\u4f60SonarQube\u9875\u9762\u91cc\u7684Token&#xff09;<\/span><br \/>\nsonar.login<span class=\"token operator\">&#061;<\/span>sqp_00ab3f5e8093c2bada901c2bf68f9a997bfbe485<\/p>\n<p><span class=\"token comment\"># 5. \u6838\u5fc3&#xff1a;\u6e90\u7801\u8def\u5f84&#xff08;\u6307\u5411\u4f60\u7684Java\u7ec4\u4ef6\u6e90\u7801\u76ee\u5f55&#xff0c;\u6bd4\u5982src&#xff09;<\/span><br \/>\nsonar.sources<span class=\"token operator\">&#061;<\/span>.\/src<br \/>\n<span class=\"token comment\"># 6. \u7f16\u7801\u683c\u5f0f<\/span><br \/>\nsonar.sourceEncoding<span class=\"token operator\">&#061;<\/span>UTF-8<br \/>\n<span class=\"token comment\"># 7. \u8bed\u8a00\u6307\u5b9a\u4e3aJava<\/span><br \/>\nsonar.language<span class=\"token operator\">&#061;<\/span>java<br \/>\n<span class=\"token comment\"># 8. \u8df3\u8fc7\u7f16\u8bd1\u68c0\u67e5&#xff08;\u5173\u952e&#xff01;\u65e0\u9700class\u6587\u4ef6&#xff09;<\/span><br \/>\nsonar.java.binaries<span class=\"token operator\">&#061;<\/span>.\/src<br \/>\n<span class=\"token comment\"># 9. \u8df3\u8fc7\u6d4b\u8bd5\u4ee3\u7801\/\u8986\u76d6\u7387\u68c0\u67e5<\/span><br \/>\nsonar.test.exclusions<span class=\"token operator\">&#061;<\/span>**\/*Test.java<br \/>\nsonar.coverage.jacoco.xmlReportPaths<span class=\"token operator\">&#061;<\/span>NONE<\/p>\n<p>cd \u5230\u4f60\u7684\u9879\u76ee\u4e0b&#xff0c;\u6267\u884csonar-scanner <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061639-697312470f04d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u7136\u540e\u53ef\u4ee5\u767b\u5f55SonarQube&#xff0c;\u770b\u6211\u4eec\u521a\u521a\u4e0a\u4f20\u7684\u5206\u6790\u62a5\u544a\u4e86\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061639-69731247664b2.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u76ee\u5f55\u524d\u8a00\u4ee3\u7801\u626b\u63cf -sonar-scanner-cli\u5de5\u5177\u4f7f\u7528\u3001SonarQube\u914d\u7f6e&#xff0c;\u4e0e\u4e0a\u4f20\u5206\u67901. SonarQube \u90e8\u7f72\u3001\u6c49\u53162. sonar-scanner-cli\u5de5\u5177\u4e0b\u8f7d3. sonar-scanner-cli \u914d\u7f6e\u73af\u5883\u53d8\u91cf4. SonarQube \u914d\u7f6e5. sonar-scanner-cli \u4f7f\u7528\u524d\u8a00 \u5982\u679c\u60a8\u89c9\u5f97\u6709\u7528\u7684\u8bdd&#xff0c;\u8bb0\u5f97\u7ed9\u535a\u4e3b\u70b9\u4e2a\u8d5e&#xff0c;\u8bc4\u8bba&#xff0c;\u6536\u85cf\u4e00\u952e\u4e09\u8fde\u554a&#xff0c;\u5199\u4f5c\u4e0d\u6613\u554a^ _ ^\u3002 \u2003\u2003<\/p>\n","protected":false},"author":2,"featured_media":64399,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[6812,6813],"topic":[],"class_list":["post-64419","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-sonar-scanner","tag-sonarqube"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4ee3\u7801\u626b\u63cf -sonar-scanner-cli\u5de5\u5177\u4f7f\u7528\u3001SonarQube\u914d\u7f6e\u4e0e\u4e0a\u4f20\u5206\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/64419.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4ee3\u7801\u626b\u63cf -sonar-scanner-cli\u5de5\u5177\u4f7f\u7528\u3001SonarQube\u914d\u7f6e\u4e0e\u4e0a\u4f20\u5206\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u76ee\u5f55\u524d\u8a00\u4ee3\u7801\u626b\u63cf -sonar-scanner-cli\u5de5\u5177\u4f7f\u7528\u3001SonarQube\u914d\u7f6e&#xff0c;\u4e0e\u4e0a\u4f20\u5206\u67901. SonarQube \u90e8\u7f72\u3001\u6c49\u53162. sonar-scanner-cli\u5de5\u5177\u4e0b\u8f7d3. sonar-scanner-cli \u914d\u7f6e\u73af\u5883\u53d8\u91cf4. SonarQube \u914d\u7f6e5. sonar-scanner-cli \u4f7f\u7528\u524d\u8a00 \u5982\u679c\u60a8\u89c9\u5f97\u6709\u7528\u7684\u8bdd&#xff0c;\u8bb0\u5f97\u7ed9\u535a\u4e3b\u70b9\u4e2a\u8d5e&#xff0c;\u8bc4\u8bba&#xff0c;\u6536\u85cf\u4e00\u952e\u4e09\u8fde\u554a&#xff0c;\u5199\u4f5c\u4e0d\u6613\u554a^ _ ^\u3002 \u2003\u2003\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/64419.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-23T06:16:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061632-69731240bca6f.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/64419.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/64419.html\",\"name\":\"\u4ee3\u7801\u626b\u63cf -sonar-scanner-cli\u5de5\u5177\u4f7f\u7528\u3001SonarQube\u914d\u7f6e\u4e0e\u4e0a\u4f20\u5206\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-23T06:16:40+00:00\",\"dateModified\":\"2026-01-23T06:16:40+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/64419.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/64419.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/64419.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4ee3\u7801\u626b\u63cf -sonar-scanner-cli\u5de5\u5177\u4f7f\u7528\u3001SonarQube\u914d\u7f6e\u4e0e\u4e0a\u4f20\u5206\u6790\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4ee3\u7801\u626b\u63cf -sonar-scanner-cli\u5de5\u5177\u4f7f\u7528\u3001SonarQube\u914d\u7f6e\u4e0e\u4e0a\u4f20\u5206\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/64419.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4ee3\u7801\u626b\u63cf -sonar-scanner-cli\u5de5\u5177\u4f7f\u7528\u3001SonarQube\u914d\u7f6e\u4e0e\u4e0a\u4f20\u5206\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u76ee\u5f55\u524d\u8a00\u4ee3\u7801\u626b\u63cf -sonar-scanner-cli\u5de5\u5177\u4f7f\u7528\u3001SonarQube\u914d\u7f6e&#xff0c;\u4e0e\u4e0a\u4f20\u5206\u67901. SonarQube \u90e8\u7f72\u3001\u6c49\u53162. sonar-scanner-cli\u5de5\u5177\u4e0b\u8f7d3. sonar-scanner-cli \u914d\u7f6e\u73af\u5883\u53d8\u91cf4. SonarQube \u914d\u7f6e5. sonar-scanner-cli \u4f7f\u7528\u524d\u8a00 \u5982\u679c\u60a8\u89c9\u5f97\u6709\u7528\u7684\u8bdd&#xff0c;\u8bb0\u5f97\u7ed9\u535a\u4e3b\u70b9\u4e2a\u8d5e&#xff0c;\u8bc4\u8bba&#xff0c;\u6536\u85cf\u4e00\u952e\u4e09\u8fde\u554a&#xff0c;\u5199\u4f5c\u4e0d\u6613\u554a^ _ ^\u3002 \u2003\u2003","og_url":"https:\/\/www.wsisp.com\/helps\/64419.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-23T06:16:40+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260123061632-69731240bca6f.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/64419.html","url":"https:\/\/www.wsisp.com\/helps\/64419.html","name":"\u4ee3\u7801\u626b\u63cf -sonar-scanner-cli\u5de5\u5177\u4f7f\u7528\u3001SonarQube\u914d\u7f6e\u4e0e\u4e0a\u4f20\u5206\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-23T06:16:40+00:00","dateModified":"2026-01-23T06:16:40+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/64419.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/64419.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/64419.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4ee3\u7801\u626b\u63cf -sonar-scanner-cli\u5de5\u5177\u4f7f\u7528\u3001SonarQube\u914d\u7f6e\u4e0e\u4e0a\u4f20\u5206\u6790"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/64419","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=64419"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/64419\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/64399"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=64419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=64419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=64419"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=64419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}