Skip to content

Publish nuget

Publish nuget #5

Manually triggered October 21, 2024 10:36
Status Failure
Total duration 1m 54s
Artifacts

publish-nugets.yml

on: workflow_dispatch
publish-nuget  /  publish-github
publish-nuget / publish-github
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 12 warnings
test / test-and-sonar
ERROR: Error during SonarScanner execution
test / test-and-sonar
ERROR: Could not find a default branch for project with key 'VirtoCommerce_vc-module-import'. Make sure project exists.
test / test-and-sonar
ERROR:
test / test-and-sonar
The SonarScanner did not complete successfully
test / test-and-sonar
10:37:58.041 Post-processing failed. Exit code: 1
test / test-and-sonar
Target "SonarQubeEnd" has thrown an exception
test / test-and-sonar
Error while vc-build SonarQubeEnd executed detected:
build / build-artifacts
/usr/share/dotnet/sdk/8.0.402/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(203,6): warning : This project cannot be packaged because packaging has been disabled. Add <IsPackable>true</IsPackable> to the project file to enable producing a package from this project. [/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.Web/VirtoCommerce.ImportModule.Web.csproj]
build / build-artifacts
/usr/share/dotnet/sdk/8.0.402/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(203,6): warning : This project cannot be packaged because packaging has been disabled. Add <IsPackable>true</IsPackable> to the project file to enable producing a package from this project. [/home/runner/work/vc-module-import/vc-module-import/samples/VirtoCommerce.ImportSampleModule.Web/VirtoCommerce.ImportSampleModule.Web.csproj]
test / test-and-sonar
/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.Core/ModuleConstants.cs(71,62): warning S3218: Rename this property to not shadow the outer class' member with the same name. (https://rules.sonarsource.com/csharp/RSPEC-3218) [/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.Core/VirtoCommerce.ImportModule.Core.csproj]
test / test-and-sonar
/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.Core/ModuleConstants.cs(33,36): warning S109: Assign this magic number '50' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.Core/VirtoCommerce.ImportModule.Core.csproj]
test / test-and-sonar
/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.Core/ModuleConstants.cs(42,36): warning S109: Assign this magic number '10000' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.Core/VirtoCommerce.ImportModule.Core.csproj]
test / test-and-sonar
/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.Core/Services/DefaultDataReporter.cs(7,18): warning S3881: Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881) [/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.Core/VirtoCommerce.ImportModule.Core.csproj]
test / test-and-sonar
/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.CsvHelper/CsvDataReader.cs(146,17): warning S125: Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125) [/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.CsvHelper/VirtoCommerce.ImportModule.CsvHelper.csproj]
test / test-and-sonar
/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.CsvHelper/CsvSettings.cs(24,28): warning S109: Assign this magic number '50' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.CsvHelper/VirtoCommerce.ImportModule.CsvHelper.csproj]
test / test-and-sonar
/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.CsvHelper/CsvDataReader.cs(144,19): warning S1135: Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135) [/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.CsvHelper/VirtoCommerce.ImportModule.CsvHelper.csproj]
test / test-and-sonar
/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.CsvHelper/CsvDataReporter.cs(12,18): warning S3881: Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881) [/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.CsvHelper/VirtoCommerce.ImportModule.CsvHelper.csproj]
test / test-and-sonar
/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.CsvHelper/CsvDataReader.cs(18,21): warning S2933: Make '_pageSize' 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2933) [/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.CsvHelper/VirtoCommerce.ImportModule.CsvHelper.csproj]
test / test-and-sonar
/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.CsvHelper/CsvDataReader.cs(32,68): warning S3427: This method signature overlaps the one defined on line 27, the default parameter value can't be used. (https://rules.sonarsource.com/csharp/RSPEC-3427) [/home/runner/work/vc-module-import/vc-module-import/src/VirtoCommerce.ImportModule.CsvHelper/VirtoCommerce.ImportModule.CsvHelper.csproj]