品质管理 sonarqube 分析项目时报错,从 web 页操作,命令行操作都报错,求助,没辙了。

白发苍苍的老大爷 · 2019年03月14日 · 最后由 married577 回复于 2019年11月08日 · 4936 次阅读

分析自己的项目和 sonarqube 中的例子都报错,项目中建 sonar-project.properties 运行,例子中自带的 sonar-project.properties 运行;
在 web 中按照步骤运行全都报 “最后一次分析失败。更多细节请查看 后台任务。”

错误详情
java.lang.IllegalArgumentException: Multiple entries with same key: shell=Shell and shell=Shell
at com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:150)
at com.google.common.collect.RegularImmutableMap.checkNoConflictInBucket(RegularImmutableMap.java:104)
at com.google.common.collect.RegularImmutableMap.(RegularImmutableMap.java:70)
at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:254)
at com.google.common.collect.Maps.uniqueIndex(Maps.java:1166)
at com.google.common.collect.Maps.uniqueIndex(Maps.java:1140)
at org.sonar.ce.task.projectanalysis.language.LanguageRepositoryImpl.(LanguageRepositoryImpl.java:46)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.picocontainer.injectors.AbstractInjector.newInstance(AbstractInjector.java:145)
at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:342)
at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)
at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:678)
at org.sonar.core.platform.ComponentContainer.getComponentByType(ComponentContainer.java:281)
at org.sonar.ce.task.projectanalysis.step.AbstractComputationSteps.lambda$instances$0(AbstractComputationSteps.java:43)
at com.google.common.collect.Iterators$8.transform(Iterators.java:799)
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
at org.sonar.ce.task.step.ComputationStepExecutor.executeSteps(ComputationStepExecutor.java:71)
at org.sonar.ce.task.step.ComputationStepExecutor.execute(ComputationStepExecutor.java:59)
at org.sonar.ce.task.projectanalysis.taskprocessor.ReportTaskProcessor.process(ReportTaskProcessor.java:81)
at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.executeTask(CeWorkerImpl.java:207)
at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.run(CeWorkerImpl.java:189)
at org.sonar.ce.taskprocessor.CeWorkerImpl.findAndProcessTask(CeWorkerImpl.java:156)
at org.sonar.ce.taskprocessor.CeWorkerImpl$TrackRunningState.get(CeWorkerImpl.java:131)
at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:83)
at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:51)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

共收到 4 条回复 时间 点赞
1楼 已删除

这是命令行执行的详情:
D:\sonar-scanning-examples-master>sonar-scanner.bat -D"sonar.projectKey=sonar-scanning-examples-master" -D"sonar.sources=." -D"sonar.host.url=http://192.168.1.16:9000" -D"sonar.login=73175229b0a7c20b719a4770a26dca9c8c18a46d"
INFO: Scanner configuration file: D:\sonar\sonar-scanner-3.3.0.1492-windows\bin..\conf\sonar-scanner.properties
INFO: Project root configuration file: NONE
INFO: SonarQube Scanner 3.3.0.1492
INFO: Java 1.8.0_121 Oracle Corporation (64-bit)
INFO: Windows 10 10.0 amd64
INFO: User cache: C:\Users\SR.sonar\cache
INFO: SonarQube server 7.6.0
INFO: Default locale: "zh_CN", source code encoding: "GBK" (analysis is platform dependent)
INFO: Load global settings
INFO: Load global settings (done) | time=142ms
INFO: Server id: 74C93F70-AWl7VcbnNqT9Q_GAQHnb
INFO: User cache: C:\Users\SR.sonar\cache
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=75ms
INFO: Plugin [l10nzh] defines 'l10nen' as base plugin. This metadata can be removed from manifest of l10n plugins since version 5.2.
INFO: Load/download plugins (done) | time=150ms
INFO: Process project properties
INFO: Execute project builders
INFO: Execute project builders (done) | time=11ms
WARN: Failed to set working directory hidden: D:\sonar-scanning-examples-master.scannerwork
INFO: Project key: sonar-scanning-examples-master
INFO: Base dir: D:\sonar-scanning-examples-master
INFO: Working dir: D:\sonar-scanning-examples-master.scannerwork
INFO: Load project settings
INFO: Load project settings (done) | time=52ms
INFO: Load project repositories
INFO: Load project repositories (done) | time=80ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=66ms
INFO: Load active rules
INFO: Load active rules (done) | time=1764ms
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=51ms
WARN: SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM of your project, or disable the SCM Sensor in the project settings.
INFO: Language is forced to py
INFO: Indexing files...
INFO: Project configuration:
WARN: File 'D:\sonar-scanning-examples-master.gitignore' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\LICENSE.txt' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\NOTICE.txt' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\objc-llvm-coverage\Example\Example.h' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\objc-llvm-coverage\Example\Example.m' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\objc-llvm-coverage\Example.xcodeproj\project.pbxproj' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\objc-llvm-coverage\Example.xcodeproj\project.xcworkspace\contents.xcworkspacedata' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\objc-llvm-coverage\Example.xcodeproj\xcshareddata\xcschemes\Example.xcscheme' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\objc-llvm-coverage\ExampleTests\ExampleTests.m' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\objc-llvm-coverage\ExampleTests\Info.plist' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\objc-llvm-coverage\README.md' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\objc-llvm-coverage\sonar-project.properties' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\README.md' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\copybooks\Attr.cpy' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\copybooks\Custmas.cpy' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\copybooks\Errparm.cpy' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\copybooks\MNTSET2.CPY' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\coverage-report\coverage-cobertua-flex.xml' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\sonar-project.properties' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\abap\ZBCMKZ17.abap' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\abap\ZZBGS106.abap' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\cobol\Custmnt2.cbl' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\erlang\hello.erl' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\flex\Circle.as' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\flex\UncoveredCircle.as' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\html\sample.xhtml' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\javascript\Person.js' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\kotlin\sample.kt' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\php\Math.php' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\pli\center.pli' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\pli\chess.pli' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\pli\maxlen.pli' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\pli\search.pli' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\rpg\MYPROGRAM.rpg' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\sql\ddl.sql' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\sql\ut_report.pkb' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\swift\example.swift' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\vb6\Info.frm' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\vb6\Registry.bas' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\vb6\Registry.cls' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner\src\xml\sonar_backup.xml' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-ant\build.xml' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-ant\README.md' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-ant\src\One.java' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-build-wrapper-linux\build.sh' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-build-wrapper-linux\README.md' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-build-wrapper-linux\sonar-project.properties' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-build-wrapper-linux\src\BiggestUnInt.cc' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-build-wrapper-linux\src\HelloWorld.cpp' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-build-wrapper-linux\src\SimpleClass.cc' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-gradle\build.gradle' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-gradle\gradle\wrapper\gradle-wrapper.jar' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-gradle\gradle\wrapper\gradle-wrapper.properties' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-gradle\gradlew' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-gradle\gradlew.bat' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-gradle\settings.gradle' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-gradle\src\main\java\App.java' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-gradle\src\test\java\AppTest.java' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-maven\app-groovy\pom.xml' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-maven\app-groovy\src\main\groovy\example\Greeting.groovy' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-maven\app-groovy\src\main\groovy\innerclass\InnerClassExample.groovy' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-maven\app-groovy\src\test\groovy\example\GreetingTest.groovy' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-maven\app-it\pom.xml' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-maven\app-it\src\main\java\example\EmptyClass.java' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-maven\app-it\src\test\java\example\HelloWorldIntegrationTest.java' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-maven\app-java\pom.xml' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-maven\app-java\src\main\java\example\HelloWorld.java' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-maven\app-java\src\test\java\example\HelloWorldUnitTest.java' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-maven\pom.xml' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-maven\README.md' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-msbuild\CSharpProject\README.md' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-msbuild\CSharpProject\SomeConsoleApplication\App.config' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-msbuild\CSharpProject\SomeConsoleApplication\Program.cs' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-msbuild\CSharpProject\SomeConsoleApplication\Properties\AssemblyInfo.cs' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-msbuild\CSharpProject\SomeConsoleApplication\SomeConsoleApplication.csproj' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-msbuild\CSharpProject\SomeConsoleApplication.sln' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-msbuild\CSharpProject\SomeConsoleApplicationTest\ProgramTests.cs' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-msbuild\CSharpProject\SomeConsoleApplicationTest\Properties\AssemblyInfo.cs' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\sonarqube-scanner-msbuild\CSharpProject\SomeConsoleApplicationTest\SomeConsoleApplicationTest.csproj' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\swift-coverage\README.md' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\swift-coverage\swift-coverage-example.gitignore' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\swift-coverage\swift-coverage-example\info.plist' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\swift-coverage\swift-coverage-example\sonar-project.properties' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\swift-coverage\swift-coverage-example\swift-coverage-example\AppDelegate.swift' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\swift-coverage\swift-coverage-example\swift-coverage-example\AppDelegate2.swift' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\swift-coverage\swift-coverage-example\swift-coverage-example\Assets.xcassets\AppIcon.appiconset\Contents.json' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\swift-coverage\swift-coverage-example\swift-coverage-example\Base.lproj\MainMenu.xib' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\swift-coverage\swift-coverage-example\swift-coverage-example\Info.plist' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\swift-coverage\swift-coverage-example\swift-coverage-example.xcodeproj\project.pbxproj' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\swift-coverage\swift-coverage-example\swift-coverage-example.xcodeproj\project.xcworkspace\contents.xcworkspacedata' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\swift-coverage\swift-coverage-example\swift-coverage-example.xcodeproj\project.xcworkspace\xcuserdata\elenavilchik.xcuserdatad\UserInterfaceState.xcuserstate' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\swift-coverage\swift-coverage-example\swift-coverage-example.xcodeproj\xcshareddata\xcschemes\swift-coverage-example.xcscheme' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\swift-coverage\swift-coverage-example\swift-coverage-exampleTests\Info.plist' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\swift-coverage\swift-coverage-example\swift-coverage-exampleTests\swift_coverage_exampleTests.swift' is ignored because it doesn't belong to the forced language 'py'
WARN: File 'D:\sonar-scanning-examples-master\swift-coverage\swift-coverage-example\xccov-to-sonarqube-generic.sh' is ignored because it doesn't belong to the forced language 'py'
INFO: 9 files indexed
INFO: Quality profile for py: Sonar way
INFO: ------------- Run sensors on module apiautocore
INFO: Sensor HTML [web]
INFO: Sensor HTML web | time=38ms
INFO: Sensor Python Squid Sensor [python]
INFO: Sensor Python Squid Sensor python | time=812ms
INFO: Sensor Cobertura Sensor for Python coverage [python]
INFO: Sensor Cobertura Sensor for Python coverage python | time=47ms
INFO: Sensor PythonXUnitSensor [python]
INFO: Sensor PythonXUnitSensor python | time=19ms
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: Sensor JaCoCo XML Report Importer jacoco | time=13ms
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=55ms
INFO: ------------- Run sensors on project
INFO: No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it.
INFO: 5 files had no CPD blocks
INFO: Calculating CPD for 4 files
INFO: CPD calculation finished
INFO: Analysis report generated in 188ms, dir size=190 KB
INFO: Analysis report compressed in 83ms, zip size=45 KB
INFO: Analysis report uploaded in 97ms
INFO: ANALYSIS SUCCESSFUL, you can browse http://192.168.1.16:9000/dashboard?id=sonar-scanning-examples-master
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at http://192.168.1.16:9000/api/ce/task?id=AWl74PgmNqT9Q_GAQNPn
INFO: Executing post-job 'Final report'
INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
INFO: Executing post-job 'Final report'
INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
INFO: Analysis total time: 9.043 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 12.900s
INFO: Final Memory: 18M/279M
INFO: ------------------------------------------------------------------------

解决了,卸载了 shell 插件。。。。

自力更生 厉害

听不懂,可以详细说下吗

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册