Когда я начал новую сборку на DevOps Azure, эта сборка была связана с проектом SonarQube. У меня есть эта ошибка en Azure
[error] [SQ] Задача не выполнена со статусом FAILED
Эта ошибка есть в Публикации Quality Gate Result Task
И когда я иду в проект SonarQube.
SonarQube показывает мне следующее предложение: Последний анализ не удался:
Если я открою Задачи Brackground и открою Показать подробности ошибки, у меня появится следующая ошибка: -org.sonar.server.computation.task.projectanalysis.component.VisitException -java.lang.UnsupportedOperationException
Это полный журнал:
Error Details
org.sonar.server.computation.task.projectanalysis.component.VisitException: Visit failed for Component {key=Youforce.CloudEnablement.Identity.BrokerClientApplications.CI:BRANCH:sonarQube,type=PROJECT}
at org.sonar.server.computation.task.projectanalysis.component.VisitException.rethrowOrWrap(VisitException.java:44)
at org.sonar.server.computation.task.projectanalysis.component.PathAwareCrawler.visit(PathAwareCrawler.java:52)
at org.sonar.server.computation.task.projectanalysis.step.UnitTestMeasuresStep.execute(UnitTestMeasuresStep.java:74)
at org.sonar.server.computation.task.step.ComputationStepExecutor.executeSteps(ComputationStepExecutor.java:64)
at org.sonar.server.computation.task.step.ComputationStepExecutor.execute(ComputationStepExecutor.java:52)
at org.sonar.server.computation.task.projectanalysis.taskprocessor.ReportTaskProcessor.process(ReportTaskProcessor.java:73)
at org.sonar.ce.taskprocessor.CeWorkerImpl.executeTask(CeWorkerImpl.java:134)
at org.sonar.ce.taskprocessor.CeWorkerImpl.findAndProcessTask(CeWorkerImpl.java:97)
at org.sonar.ce.taskprocessor.CeWorkerImpl.withCustomizedThreadName(CeWorkerImpl.java:81)
at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:73)
at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:43)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsupportedOperationException: a measure can be set only once for a specific Component (key=Youforce.CloudEnablement.Identity.BrokerClientApplications.CI:BRANCH:sonarQube), Metric (key=skipped_tests). Use update method
at org.sonar.server.computation.task.projectanalysis.measure.MapBasedRawMeasureRepository.add(MapBasedRawMeasureRepository.java:85)
at org.sonar.server.computation.task.projectanalysis.measure.MeasureRepositoryImpl.add(MeasureRepositoryImpl.java:124)
at org.sonar.server.computation.task.projectanalysis.formula.FormulaExecutorComponentVisitor.addNewMeasure(FormulaExecutorComponentVisitor.java:181)
at org.sonar.server.computation.task.projectanalysis.formula.FormulaExecutorComponentVisitor.processLeaf(FormulaExecutorComponentVisitor.java:167)
at org.sonar.server.computation.task.projectanalysis.formula.FormulaExecutorComponentVisitor.process(FormulaExecutorComponentVisitor.java:142)
at org.sonar.server.computation.task.projectanalysis.formula.FormulaExecutorComponentVisitor.visitProject(FormulaExecutorComponentVisitor.java:107)
at org.sonar.server.computation.task.projectanalysis.component.PathAwareCrawler.visitNode(PathAwareCrawler.java:96)
at org.sonar.server.computation.task.projectanalysis.component.PathAwareCrawler.visitImpl(PathAwareCrawler.java:73)
at org.sonar.server.computation.task.projectanalysis.component.PathAwareCrawler.visit(PathAwareCrawler.java:50)
... 17 more