We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using your Sonarqube project (https://github.com/GoogleCloudPlatform/cloud-builders-community/tree/master/sonarqube) to analyse the csharp coding. However it seems like the sonarqube is running successfully but c# codes are ignored. What could be the problem?
I've run locally using below commands and it works ok i.e. the reports are published to sonarqube server.
dotnet "SonarScanner.MSBuild.dll" begin /k:"Web" /d:sonar.host.url="http://***/" /d:sonar.login="***" dotnet build CAP.sln dotnet "SonarScanner.MSBuild.dll" end /d:sonar.login="***"
See below log...
===============================================================
Pulling image: gcr.io/projectone/sonar-scanner:latest latest: Pulling from projectone/sonar-scanner 801bfaa63ef2: Pulling fs layer f1707cbd5cc6: Pulling fs layer 27ac4aeeec04: Pulling fs layer 801bfaa63ef2: Verifying Checksum 801bfaa63ef2: Download complete 27ac4aeeec04: Verifying Checksum 27ac4aeeec04: Download complete f1707cbd5cc6: Verifying Checksum f1707cbd5cc6: Download complete 801bfaa63ef2: Pull complete f1707cbd5cc6: Pull complete 27ac4aeeec04: Pull complete Digest: sha256 Status: Downloaded newer image for gcr.io/projectone/sonar-scanner:latest gcr.io/projectone/sonar-scanner:latest START: Running sonar-scanner-cli on Thu Jan 14 15:29:32 UTC 2021 INFO: Scanner configuration file: /opt/sonar-scanner-3.2.0.1227-linux/conf/sonar-scanner.properties INFO: Project root configuration file: NONE INFO: SonarQube Scanner 3.2.0.1227 INFO: Java 11.0.9 Alpine (64-bit) INFO: Linux 5.4.0-1029-gcp amd64 INFO: User cache: /root/.sonar/cache INFO: SonarQube server 8.6.0 INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent) INFO: Load global settings INFO: Load global settings (done) | time=399ms INFO: Server id: 12ABCD12-XYZwatkPbFh1xcAy_WRH INFO: User cache: /root/.sonar/cache INFO: Load/download plugins INFO: Load plugins index INFO: Load plugins index (done) | time=215ms INFO: Load/download plugins (done) | time=8835ms INFO: Process project properties INFO: Process project properties (done) | time=25ms INFO: Execute project builders INFO: Execute project builders (done) | time=3ms INFO: Project key: Web INFO: Base dir: /workspace INFO: Working dir: /workspace/.scannerwork INFO: Load project settings for component key: 'Web' INFO: Load quality profiles INFO: Load quality profiles (done) | time=441ms INFO: Load active rules INFO: Load active rules (done) | time=4621ms INFO: Indexing files... INFO: Project configuration: INFO: Excluded sources: CAP.Test/*.html INFO: Load project repositories INFO: Load project repositories (done) | time=142ms INFO: 408 files indexed INFO: 4 files ignored because of inclusion/exclusion patterns INFO: 23 files ignored because of scm ignore settings INFO: Quality profile for cs: Sonar way INFO: Quality profile for css: Sonar way INFO: Quality profile for js: Sonar way INFO: Quality profile for web: Sonar way INFO: Quality profile for xml: Sonar way INFO: ------------- Run sensors on module Web INFO: Load metrics repository INFO: Load metrics repository (done) | time=194ms INFO: Sensor CSS Metrics [cssfamily] INFO: Sensor CSS Metrics [cssfamily] (done) | time=992ms INFO: Sensor CSS Rules [cssfamily] ERROR: CSS rules were not executed. Error when running: 'node -v'. Is Node.js available during analysis? org.sonarsource.nodejs.NodeCommandException: Error when running: 'node -v'. Is Node.js available during analysis? at org.sonarsource.nodejs.NodeCommand.start(NodeCommand.java:80) at org.sonarsource.nodejs.NodeCommandBuilderImpl.getVersion(NodeCommandBuilderImpl.java:181) at org.sonarsource.nodejs.NodeCommandBuilderImpl.checkNodeCompatibility(NodeCommandBuilderImpl.java:159) at org.sonarsource.nodejs.NodeCommandBuilderImpl.build(NodeCommandBuilderImpl.java:134) at org.sonar.css.plugin.server.CssAnalyzerBridgeServer.initNodeCommand(CssAnalyzerBridgeServer.java:153) at org.sonar.css.plugin.server.CssAnalyzerBridgeServer.startServer(CssAnalyzerBridgeServer.java:104) at org.sonar.css.plugin.server.CssAnalyzerBridgeServer.startServerLazily(CssAnalyzerBridgeServer.java:173) at org.sonar.css.plugin.CssRuleSensor.execute(CssRuleSensor.java:99) at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:48) at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:85) at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:59) at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:77) at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:59) at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:82) at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137) at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123) at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:393) at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:389) at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:358) at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137) at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123) at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:144) at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137) at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123) at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72) at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66) at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60) at com.sun.proxy.$Proxy0.execute(Unknown Source) at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:171) at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:128) at org.sonarsource.scanner.cli.Main.execute(Main.java:111) at org.sonarsource.scanner.cli.Main.execute(Main.java:75) at org.sonarsource.scanner.cli.Main.main(Main.java:61) Caused by: java.io.IOException: Cannot run program "node": error=2, No such file or directory at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) at org.sonarsource.nodejs.NodeCommand$ProcessWrapperImpl.start(NodeCommand.java:159) at org.sonarsource.nodejs.NodeCommand.start(NodeCommand.java:76) ... 37 common frames omitted Caused by: java.io.IOException: error=2, No such file or directory at java.base/java.lang.ProcessImpl.forkAndExec(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) ... 40 common frames omitted INFO: Sensor CSS Rules [cssfamily] (done) | time=1249ms INFO: Sensor JaCoCo XML Report Importer [jacoco] INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=17ms INFO: Sensor JavaScript analysis [javascript] ERROR: Error when running: 'node -v'. Is Node.js available during analysis? org.sonarsource.nodejs.NodeCommandException: Error when running: 'node -v'. Is Node.js available during analysis? at org.sonarsource.nodejs.NodeCommand.start(NodeCommand.java:81) at org.sonarsource.nodejs.NodeCommandBuilderImpl.getVersion(NodeCommandBuilderImpl.java:181) at org.sonarsource.nodejs.NodeCommandBuilderImpl.checkNodeCompatibility(NodeCommandBuilderImpl.java:159) at org.sonarsource.nodejs.NodeCommandBuilderImpl.build(NodeCommandBuilderImpl.java:134) at org.sonar.plugins.javascript.eslint.EslintBridgeServerImpl.initNodeCommand(EslintBridgeServerImpl.java:165) at org.sonar.plugins.javascript.eslint.EslintBridgeServerImpl.startServer(EslintBridgeServerImpl.java:114) at org.sonar.plugins.javascript.eslint.EslintBridgeServerImpl.startServerLazily(EslintBridgeServerImpl.java:182) at org.sonar.plugins.javascript.eslint.AbstractEslintSensor.startBridge(AbstractEslintSensor.java:145) at org.sonar.plugins.javascript.eslint.AbstractEslintSensor.execute(AbstractEslintSensor.java:119) at org.sonar.plugins.javascript.eslint.JavaScriptEslintBasedSensor.execute(JavaScriptEslintBasedSensor.java:51) at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:48) at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:85) at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:59) at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:77) at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:59) at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:82) at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137) at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123) at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:393) at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:389) at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:358) at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137) at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123) at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:144) at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137) at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123) at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72) at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66) at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60) at com.sun.proxy.$Proxy0.execute(Unknown Source) at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:171) at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:128) at org.sonarsource.scanner.cli.Main.execute(Main.java:111) at org.sonarsource.scanner.cli.Main.execute(Main.java:75) at org.sonarsource.scanner.cli.Main.main(Main.java:61) Caused by: java.io.IOException: Cannot run program "node": error=2, No such file or directory at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) at org.sonarsource.nodejs.NodeCommand$ProcessWrapperImpl.start(NodeCommand.java:162) at org.sonarsource.nodejs.NodeCommand.start(NodeCommand.java:77) ... 39 common frames omitted Caused by: java.io.IOException: error=2, No such file or directory at java.base/java.lang.ProcessImpl.forkAndExec(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) ... 42 common frames omitted INFO: Sensor JavaScript analysis [javascript] (done) | time=1806ms INFO: Sensor C# Properties [csharp] INFO: Sensor C# Properties [csharp] (done) | time=1ms INFO: Sensor JavaXmlSensor [java] INFO: 1 source files to be analyzed INFO: 1/1 source files have been analyzed INFO: Sensor JavaXmlSensor [java] (done) | time=341ms INFO: Sensor HTML [web] INFO: Sensor HTML [web] (done) | time=1417ms INFO: Sensor XML Sensor [xml] INFO: 1 source files to be analyzed INFO: 1/1 source files have been analyzed INFO: Sensor XML Sensor [xml] (done) | time=278ms INFO: Sensor VB.NET Properties [vbnet] INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms INFO: ------------- Run sensors on project INFO: Sensor C# [csharp] WARN: No protobuf reports found. The C# files will not have highlighting and metrics. WARN: No Roslyn issue reports were found. The C# files have not been analyzed. WARN: Your project contains C# files which cannot be analyzed with the scanner you are using. To analyze C# or VB.NET, you must use the Scanner for MSBuild 4.x, see https://redirect.sonarsource.com/doc/install-configure-scanner-msbuild.html INFO: Sensor C# [csharp] (done) | time=2ms INFO: Sensor Zero Coverage Sensor INFO: Sensor Zero Coverage Sensor (done) | time=11ms INFO: SCM Publisher SCM provider for this project is: git INFO: SCM Publisher 297 source files to be analyzed WARN: Shallow clone detected, no blame information will be provided. You can convert to non-shallow with 'git fetch --unshallow'. INFO: SCM Publisher 0/297 source files have been analyzed (done) | time=5ms WARN: Missing blame information for the following files: WARN: * CAP.Test/PageObjects/IaoApproveObjects.cs WARN: * CAP/Views/_ViewStart.cshtml WARN: * CAP/Views/Shared/_ValidationScriptsPartial.cshtml WARN: * CAP/Views/ExtendProcurement/ExtendProcurementResult.cshtml WARN: * CAP/Startup.cs WARN: * CAP/Models/CbiAnnotateViewModel.cs WARN: * CAP/Views/Procurement/Other.cshtml WARN: * CAP/Models/ApplicantCrmViewModel.cs WARN: * CAP/Helper/ContractUtility.cs WARN: * CAP/Views/Error/Index.cshtml WARN: * CAP/Controllers/IaoApproveController.cs WARN: * CAP/Program.cs WARN: * CAP.Test/SetupClass.cs WARN: * CAP.Test/PageObjects/RolesManagementObjects.cs WARN: * CAP.Test/Features/BhNavigation.feature.cs WARN: * CAP/Views/RolesManagement/RolesManagementSearch.cshtml WARN: * CAP.Test/PageObjects/SignOutObjects.cs WARN: * CAP/Controllers/ChangeApproversController.cs WARN: * CAP/Views/ExtendProcurement/ExistingMarketing.cshtml WARN: * CAP/Models/ChangeApproversViewModel.cs WARN: * CAP.Test/Features/VloNavigation.feature.cs WARN: * CAP/Views/Shared/Error.cshtml WARN: * CAP/Models/ProcurementViewModels/MarketingProcurementViewModel.cs WARN: * CAP/Controllers/RolesManagementController.cs WARN: * CAP.Test/Steps/IaoApproveSteps.cs WARN: * CAP/Models/CrmAwardViewModel.cs WARN: * CAP/Models/MyProcurementViewModel.cs WARN: * CAP/Api/AutoFillController.cs WARN: * CAP/Services/NavBar/NavBarService.cs WARN: * CAP.Test/Features/ExceptionHandling.feature.cs WARN: * CAP.Test/PageObjects/ContractObjects.cs WARN: * CAP/Views/CbiAnnotate/CbiDeferred.cshtml WARN: * CAP/Views/VloApprove/VloEnd.cshtml WARN: * CAP/Views/Shared/Components/ExistingContract/ExistingContract.cshtml WARN: * CAP.Test/PageObjects/ProfileObjects.cs WARN: * CAP.Test/Features/CrmNavigation.feature.cs WARN: * CAP.Test/Features/ExtendContract.feature.cs WARN: * CAP/ViewComponents/ProcurementDacApprovalViewComponent.cs WARN: * CAP.Test/Steps/ContractSteps.cs WARN: * CAP/Models/LegacyContract.cs WARN: * CAP/Controllers/ErrorController.cs WARN: * CAP/Controllers/ContractPdfController.cs WARN: * CAP/Models/ExtendProcurementResultViewModel.cs WARN: * CAP/ViewComponents/ApprovedFieldsViewComponent.cs WARN: * CAP/Controllers/IaoInformationController.cs WARN: * CAP/Controllers/ApplicantCrmController.cs WARN: * CAP/Views/Shared/Components/ContractErrorSummary/ContractErrorSummary.cshtml WARN: * CAP/Views/ExtendProcurement/ExtendProcurementSearch.cshtml WARN: * CAP.Test/Steps/CrmOptionsSteps.cs WARN: * CAP/Controllers/MyProcurementController.cs WARN: * CAP/Models/RolesManagementViewModel.cs WARN: * CAP/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js WARN: * CAP/Views/Procurement/ProcurementNewOrExisting.cshtml WARN: * CAP.Test/Steps/LoginSteps.cs WARN: * CAP.Test/Features/DraftForm.feature.cs WARN: * CAP/Models/GenericExceptionViewModel.cs WARN: * CAP/wwwroot/js/search.js WARN: * CAP/Views/Home/Contact.cshtml WARN: * CAP.Test/Features/Dashboard.feature.cs WARN: * CAP/Models/VloApproveSelectAttributes.cs WARN: * CAP/Controllers/VloApproveController.cs WARN: * CAP/Views/BhApprove/BhEndDeclined.cshtml WARN: * CAP/Views/Shared/Components/DacReferenceFields/DacReferenceFields.cshtml WARN: * CAP.Test/PageObjects/ExtendContractObjects.cs WARN: * CAP/Views/Profile/ProfileDetails.cshtml WARN: * CAP/ViewComponents/ApproverContractTableViewComponent.cs WARN: * CAP/wwwroot/lib/jquery-validation/dist/additional-methods.js WARN: * CAP/Controllers/ExtendController.cs WARN: * CAP/Views/ExtendProcurement/ExtendProcurementType.cshtml WARN: * CAP.Test/PageObjects/StatsObjects.cs WARN: * CAP/Helper/CustomAssemblyLoadContext.cs WARN: * CAP.Test/Features/RolesManagement.feature.cs WARN: * CAP/Views/Home/Privacy.cshtml WARN: * CAP/ViewComponents/ContractStagesViewComponent.cs WARN: * CAP/ViewComponents/DacReferenceFieldsViewComponent.cs WARN: * CAP/wwwroot/css/site.css WARN: * CAP.Test/Steps/EmailSteps.cs WARN: * CAP/Controllers/ExtendProcurementController.cs WARN: * CAP/Views/Extend/Index.cshtml WARN: * CAP/ViewComponents/ProcurementDetailsViewComponent.cs WARN: * CAP/Helper/WebHelper.cs WARN: * CAP.Test/Features/CrmOptions.feature.cs WARN: * CAP/ViewComponents/WarningViewComponent.cs WARN: * CAP.Test/PageObjects/CrmAwardObjects.cs WARN: * CAP/Views/Shared/Components/ProcurementApproval/ProcurementApproval.cshtml WARN: * CAP/Views/Shared/Components/ExtendTable/ExtendTable.cshtml WARN: * CAP/Controllers/CrmAwardController.cs WARN: * CAP/Views/_ViewImports.cshtml WARN: * CAP/Models/ProcurementViewModels/TrainingProcurementViewModel.cs WARN: * CAP/Views/DeleteConfirmation/Index.cshtml WARN: * CAP.Test/Features/RequesterNotifications.feature.cs WARN: * CAP.Test/PageObjects/ProcurementObjects.cs WARN: * CAP.Test/Features/IaoApprove.feature.cs WARN: * CAP.Test/PageObjects/ProcurementTypeObjects.cs WARN: * CAP.Test/Features/IaoNavigation.feature.cs WARN: * CAP/Helper/ControllerExtensions.cs WARN: * CAP/Views/Shared/_CookieConsentPartial.cshtml WARN: * CAP/Views/Shared/_Navigation.cshtml WARN: * CAP/Views/Shared/_ProcurementSaveButtons.cshtml WARN: * CAP/Helper/TempDataExtensions.cs WARN: * CAP.Test/PageObjects/ViewCrmObjects.cs WARN: * CAP.Test/PageObjects/ExceptionHandlingObject.cs WARN: * CAP/Views/CrmAward/CrmEndForward.cshtml WARN: * CAP/Views/Shared/Components/ContractTable/ContractTable.cshtml WARN: * CAP/Controllers/ViewSelectedContractPdfController.cs WARN: * CAP.Test/Steps/CrmAwardSteps.cs WARN: * CAP.Test/PageObjects/VloApprovalObjects.cs WARN: * CAP/Views/ExtendProcurement/ExistingIt.cshtml WARN: * CAP.Test/Steps/VloApprovalSteps.cs WARN: * CAP/Models/ProfileWebViewModel.cs WARN: * CAP/ViewComponents/ProcurementApprovalViewComponent.cs WARN: * CAP/Models/BhApproveViewModel.cs WARN: * CAP/Views/ApplicantCrm/CrmSelect.cshtml WARN: * CAP/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css WARN: * CAP/Models/ExtendViewModel.cs WARN: * CAP.Test/PageObjects/ProcurementChoiceObjects.cs WARN: * CAP/Views/Static/CslLearning.cshtml WARN: * CAP/wwwroot/lib/bootstrap/dist/js/bootstrap.js WARN: * CAP.Test/PageOps.cs WARN: * CAP/Views/Procurement/Training.cshtml WARN: * CAP/Views/ApplicantCrm/CrmDetails.cshtml WARN: * CAP/Views/Shared/Components/ExistingContractErrorSummary/ExistingContractErrorSummary.cshtml WARN: * CAP/Models/ProcurementViewModels/ConsultancyProcurementViewModel.cs WARN: * CAP/Views/Shared/_ProcurementTimeOutModal.cshtml WARN: * CAP/Services/CapUser.cs WARN: * CAP/Views/IaoInformation/Index.cshtml WARN: * CAP/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css WARN: * CAP/ViewComponents/ReturnToCrmDashboardViewComponent.cs WARN: * CAP/Models/LegacyContractDetailsViewModel.cs WARN: * CAP/ViewComponents/ExistingContractErrorSummaryViewComponent.cs WARN: * CAP.Test/PageObjects/CbiAwardObjects.cs WARN: * CAP/ViewComponents/ExtendTableViewComponent.cs WARN: * CAP/Views/Stats/Index.cshtml WARN: * CAP.Test/PageObjects/ViewContractObjects.cs WARN: * CAP.Test/Steps/HomeSteps.cs WARN: * CAP/Views/ChangeApprovers/ChangeApproversNone.cshtml WARN: * CAP/Models/ErrorViewModel.cs WARN: * CAP/Views/Shared/_MiniSearchForm.cshtml WARN: * CAP/Views/Shared/Components/Warning/Warning.cshtml WARN: * CAP/Views/Shared/_Layout.cshtml WARN: * CAP.Test/PageObjects/DashboardObjects.cs WARN: * CAP/Controllers/BhApproveController.cs WARN: * CAP/Views/ViewSelectedContractPdf/Index.cshtml WARN: * CAP/Views/Stats/StatusSlug.cshtml WARN: * CAP/Views/Shared/Components/ReturnToCrmDashboard/ReturnToCrmDashboard.cshtml WARN: * CAP/Views/Shared/Components/ProcurementDetails/ProcurementDetails.cshtml WARN: * CAP/Views/Profile/Profile.cshtml WARN: * CAP.Test/Services/DataService.cs WARN: * CAP.Test/PageObjects/HomeObjects.cs WARN: * CAP/Views/ExtendProcurement/ExistingOther.cshtml WARN: * CAP/Views/Shared/Components/ApprovedFields/ApprovedFields.cshtml WARN: * CAP.Test/Features/MyRequests.feature.cs WARN: * CAP/Models/ApproveSelectAttributes.cs WARN: * CAP.Test/Features/CbiNavigation.feature.cs WARN: * CAP.Test/Features/Form.feature.cs WARN: * CAP/Views/Home/Index.cshtml WARN: * CAP/Views/CbiAnnotate/Index.cshtml WARN: * CAP/Views/IaoApprove/Index.cshtml WARN: * CAP/ViewComponents/ViewContractDetailsViewComponent.cs WARN: * CAP/Views/MyProcurement/Index.cshtml WARN: * CAP/Views/Shared/Components/ApproverContractTable/ApproverContractTable.cshtml WARN: * CAP/ViewComponents/ExistingContractViewComponent.cs WARN: * CAP.Test/Steps/CbiAwardSteps.cs WARN: * CAP.Test/Steps/MyRequestsSteps.cs WARN: * CAP/Models/ViewComponentViewModels/ProcurementDetailsViewModel.cs WARN: * CAP/ViewComponents/CbiAnnotateFormViewComponent.cs WARN: * CAP.Test/PageObjects/FormObjects.cs WARN: * CAP/Models/ProcurementViewModels/ItProcurementViewModel.cs WARN: * CAP/Views/IaoApprove/IaoEndExtend.cshtml WARN: * CAP.Test/Features/Profile.feature.cs WARN: * CAP/Views/Contract/Index.cshtml WARN: * CAP/Views/Shared/_Pager.cshtml WARN: * CAP/Controllers/ChangeTnumberController.cs WARN: * CAP.Test/PageObjects/OtherFormObjects.cs WARN: * CAP/Models/PreFillContractViewModel.cs WARN: * CAP.Test/Steps/DashboardSteps.cs WARN: * CAP/Views/Procurement/ProcurementType.cshtml WARN: * CAP/Views/Shared/_Footer.cshtml WARN: * CAP/Views/ExtendProcurement/ExistingConsultancy.cshtml WARN: * CAP/Views/Shared/Components/CbiAnnotateForm/CbiAnnotateForm.cshtml WARN: * CAP/wwwroot/lib/bootstrap/dist/css/bootstrap.css WARN: * CAP/Controllers/DeleteConfirmationController.cs WARN: * CAP/Views/BhApprove/Index.cshtml WARN: * CAP/Models/IaoApproveViewModel.cs WARN: * CAP.Test/Steps/ExceptionHandlingSteps.cs WARN: * CAP/Models/ViewComponentViewModels/ProcurementApprovalViewModel.cs WARN: * CAP.Test/Features/Login.feature.cs WARN: * CAP/Helper/Utility.cs WARN: * CAP/Controllers/CbiAnnotateController.cs WARN: * CAP/Views/BhApprove/BhEnd.cshtml WARN: * CAP/Views/CrmAward/CrmEndAward.cshtml WARN: * CAP/Controllers/GenericExceptionController.cs WARN: * CAP.Test/Steps/FormSteps.cs WARN: * CAP/Models/StatsViewModel.cs WARN: * CAP/Models/ProfileSelectAttributes.cs WARN: * CAP/Controllers/HomeController.cs WARN: * CAP/Views/CbiAnnotate/CbiEnd.cshtml WARN: * CAP/wwwroot/lib/jquery/dist/jquery.js WARN: * CAP/Views/Extend/extendFormSubmit.cshtml WARN: * CAP/Views/ExtendProcurement/ExtendProcurement.cshtml WARN: * CAP/Views/Shared/_Head.cshtml WARN: * CAP/Views/Shared/_CheckAllDetailsPartial.cshtml WARN: * CAP/Views/Procurement/Marketing.cshtml WARN: * CAP/Services/IAPClient/IAPClient.cs WARN: * CAP.Test/Steps/BhApprovalSteps.cs WARN: * CAP.Test/PageObjects/DeleteContractObjects.cs WARN: * CAP/Views/IaoApprove/IaoEndForward.cshtml WARN: * CAP/Models/ExtraParameterRequestViewModel.cs WARN: * CAP.Test/Features/CbiAward.feature.cs WARN: * CAP/Helper/PrefilledContractUtility.cs WARN: * CAP.Test/extent-config.xml WARN: * CAP/Filters/CustomActionFilter.cs WARN: * CAP/Views/VloApprove/Index.cshtml WARN: * CAP/Models/VloApproveViewModel.cs WARN: * CAP.Test/Features/CommercialAdmin.feature.cs WARN: * CAP/Views/ChangeApprovers/Index.cshtml WARN: * CAP/Views/Shared/_ProcurementJquery.cshtml WARN: * CAP/Views/CrmDashboard/Index.cshtml WARN: * CAP/wwwroot/lib/bootstrap/dist/js/npm.js WARN: * CAP/Controllers/ProcurementController.cs WARN: * CAP/ViewComponents/ContractErrorSummaryViewComponent.cs WARN: * CAP/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.css WARN: * CAP/Views/Stats/ContractHistory.cshtml WARN: * CAP.Test/PageObjects/RequesterObjects.cs WARN: * CAP/Views/Profile/ProfileMessage.cshtml WARN: * CAP/Views/BhApprove/BhEndForward.cshtml WARN: * CAP.Test/Steps/ProfileSteps.cs WARN: * CAP/wwwroot/css/custom.css WARN: * CAP/wwwroot/js/session-timeout.js WARN: * CAP/Views/ChangeTnumber/Index.cshtml WARN: * CAP.Test/Features/CrmAward.feature.cs WARN: * CAP/Controllers/ProfileController.cs WARN: * CAP.Test/PageObjects/CrmDashboardObjects.cs WARN: * CAP/Views/RolesManagement/RolesManagementDetails.cshtml WARN: * CAP/Views/CrmAward/CrmEndDecline.cshtml WARN: * CAP.Test/Hooks.cs WARN: * CAP/Controllers/ContractController.cs WARN: * CAP/ViewComponents/ReturnToDashboardViewComponent.cs WARN: * CAP.Test/Steps/RequesterSteps.cs WARN: * CAP/Views/IaoApprove/IaoEnd.cshtml WARN: * CAP.Test/Features/Requester.feature.cs WARN: * CAP/Views/Home/About.cshtml WARN: * CAP/Views/ContractPdf/ContractPdf.cshtml WARN: * CAP/Controllers/CrmDashboardController.cs WARN: * CAP.Test/Features/Email.feature.cs WARN: * CAP/Views/Procurement/Success.cshtml WARN: * CAP/Views/Shared/Components/ContractStages/ContractStages.cshtml WARN: * CAP/Views/GenericException/Index.cshtml WARN: * CAP/Views/DeleteConfirmation/DeleteEnd.cshtml WARN: * CAP/Controllers/StaticController.cs WARN: * CAP.Test/Features/UserNavigation.feature.cs WARN: * CAP.Test/Steps/ExtendContractSteps.cs WARN: * CAP.Test/Steps/WhoIsCrmSteps.cs WARN: * CAP/Views/ApplicantCrm/Crm.cshtml WARN: * CAP/Config/ConfigSettings.cs WARN: * CAP.Test/Features/WhoIsCrm.feature.cs WARN: * CAP/Views/Stats/HistoricalDeclines.cshtml WARN: * CAP/Services/NavBar/INavBarService.cs WARN: * CAP.Test/PageObjects/MyRequestsObjects.cs WARN: * CAP.Test/Services/IUnitOfWork.cs WARN: * CAP/wwwroot/lib/jquery-validation/dist/jquery.validate.js WARN: * CAP/Views/Procurement/IT.cshtml WARN: * CAP/Views/Static/GettingDacApproval.cshtml WARN: * CAP/Views/Shared/Components/ReturnToDashboard/ReturnToDashboard.cshtml WARN: * CAP.Test/Features/VloApproval.feature.cs WARN: * CAP/Views/ExtendProcurement/ExistingTraining.cshtml WARN: * CAP.Test/Steps/RequesterNotificationsSteps.cs WARN: * CAP/Models/ProcurementViewModels/OtherProcurementViewModel.cs WARN: * CAP/Models/ViewComponentViewModels/ProcurementDAC_ApprovalViewModel.cs WARN: * CAP/Views/ChangeApprovers/ChangeApproversSuccess.cshtml WARN: * CAP/Controllers/StatsController.cs WARN: * CAP/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js WARN: * CAP/Views/BhApprove/BhEndExtend.cshtml WARN: * CAP/Views/CrmAward/Index.cshtml WARN: * CAP.Test/Steps/Navigation.cs WARN: * CAP.Test/Features/Home.feature.cs WARN: * CAP/Views/Shared/Components/ProcurementDacApproval/ProcurementDacApproval.cshtml WARN: * CAP/Views/VloApprove/VloDeclinedEnd.cshtml WARN: * CAP/wwwroot/js/site.js WARN: * CAP/ViewComponents/ContractTableViewComponent.cs WARN: * CAP/Views/Procurement/DraftSaved.cshtml WARN: * CAP/Models/ContractDetailsAttribute.cs WARN: * CAP/Services/IAPClient/IIAPClient.cs WARN: * CAP.Test/Steps/RolesManagementSteps.cs WARN: * CAP/Views/Shared/Components/ViewContractDetails/ViewContractDetails.cshtml WARN: * CAP/Views/ExtendProcurement/ExistingSuccess.cshtml WARN: * CAP.Test/Steps/DraftFormSteps.cs WARN: * CAP.Test/Steps/CommercialAdminSteps.cs WARN: * CAP.Test/Services/DapperUnitOfWork.cs WARN: * CAP/Views/Procurement/Consultancy.cshtml WARN: * CAP/Controllers/SuccessController.cs WARN: * CAP/Services/IAPClient/IAPConfig/IAPClientProps.cs WARN: * CAP.Test/PageObjects/BhApproveObjects.cs WARN: * CAP.Test/PageObjects/VloApproveObjects.cs WARN: * CAP.Test/PageObjects/CrmObjects.cs WARN: * CAP.Test/Features/Contract.feature.cs WARN: * CAP.Test/Features/BhApproval.feature.cs WARN: This may lead to missing/broken features in SonarQube INFO: CPD Executor 9 files had no CPD blocks INFO: CPD Executor Calculating CPD for 95 files INFO: CPD Executor CPD calculation finished (done) | time=94ms INFO: Analysis report generated in 314ms, dir size=2 MB INFO: Analysis report compressed in 595ms, zip size=716 KB INFO: Analysis report uploaded in 1632ms INFO: ANALYSIS SUCCESSFUL, you can browse http://****/dashboard?id=Web 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://****/api/ce/task?id=AXcBhKdoYlEf4qHyYpHT INFO: Analysis total time: 20.972 s INFO: ------------------------------------------------------------------------ INFO: EXECUTION SUCCESS INFO: ------------------------------------------------------------------------ INFO: Total time: 35.081s INFO: Final Memory: 13M/56M INFO: ------------------------------------------------------------------------ END: Running sonar-scanner-cli on Thu Jan 14 15:30:07 UTC 2021
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am using your Sonarqube project (https://github.com/GoogleCloudPlatform/cloud-builders-community/tree/master/sonarqube) to analyse the csharp coding. However it seems like the sonarqube is running successfully but c# codes are ignored. What could be the problem?
I've run locally using below commands and it works ok i.e. the reports are published to sonarqube server.
See below log...
===============================================================
===============================================================
The text was updated successfully, but these errors were encountered: