You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered an issue when using Cake.Coverlet on my Jenkins instance (which has the workspace at its default location in Program Files (x86) for this project https://github.com/taconaut/Sppd.TeamTuner.
When running the Target Run-Unit-Tests in Jenkins (failed job), following command is being generated: Executing: "C:/Program Files/dotnet/dotnet.exe" test "C:/Program Files (x86)/Jenkins/jobs/Sppd.TeamTuner-Deploy-Codecov/workspace/Backend/Tests/Sppd.TeamTuner.Tests.Unit/Sppd.TeamTuner.Tests.Unit.csproj" --configuration Release --no-build --no-restore /property:CollectCoverage=True /property:CoverletOutputFormat=\"opencover\" /property:CoverletOutput=C:/Program Files (x86)/Jenkins/jobs/Sppd.TeamTuner-Deploy-Codecov/workspace/coverage-results/coverage-results-unit.opencover.xml /property:Include=\"[Sppd.TeamTuner.*]*\" /property:Exclude=\"[xunit*]*,[Sppd.TeamTuner.Tests.*]*\"
And fails with: MSBUILD : error MSB1008: Only one project can be specified.
If adding (unescaped) quotes around /property:CoverletOutput, it fixes this issue: /property:CoverletOutput="C:/Program Files (x86)/Jenkins/jobs/Sppd.TeamTuner-Deploy-Codecov/workspace/coverage-results/coverage-results-unit.opencover.xml"
The text was updated successfully, but these errors were encountered:
I've encountered an issue when using Cake.Coverlet on my Jenkins instance (which has the workspace at its default location in Program Files (x86) for this project https://github.com/taconaut/Sppd.TeamTuner.
When running the Target Run-Unit-Tests in Jenkins (failed job), following command is being generated:
Executing: "C:/Program Files/dotnet/dotnet.exe" test "C:/Program Files (x86)/Jenkins/jobs/Sppd.TeamTuner-Deploy-Codecov/workspace/Backend/Tests/Sppd.TeamTuner.Tests.Unit/Sppd.TeamTuner.Tests.Unit.csproj" --configuration Release --no-build --no-restore /property:CollectCoverage=True /property:CoverletOutputFormat=\"opencover\" /property:CoverletOutput=C:/Program Files (x86)/Jenkins/jobs/Sppd.TeamTuner-Deploy-Codecov/workspace/coverage-results/coverage-results-unit.opencover.xml /property:Include=\"[Sppd.TeamTuner.*]*\" /property:Exclude=\"[xunit*]*,[Sppd.TeamTuner.Tests.*]*\"
And fails with: MSBUILD : error MSB1008: Only one project can be specified.
If adding (unescaped) quotes around /property:CoverletOutput, it fixes this issue:
/property:CoverletOutput="C:/Program Files (x86)/Jenkins/jobs/Sppd.TeamTuner-Deploy-Codecov/workspace/coverage-results/coverage-results-unit.opencover.xml"
The text was updated successfully, but these errors were encountered: