© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
1 reply
Arkatme

❔ Jenkins Pipeline with dotnet test

The test run parameter argument 'TestRunParameters.Parameter(name=pathToExe, value=C:\\Jenkins\\workspace\\build_and_test_vr_client\\Builds\\output\\OMS.exe)' is invalid. Please use the format below.
     Format: TestRunParameters.Parameter(name=\"<name>\", value=\"<value>\")
The test run parameter argument 'TestRunParameters.Parameter(name=pathToExe, value=C:\\Jenkins\\workspace\\build_and_test_vr_client\\Builds\\output\\OMS.exe)' is invalid. Please use the format below.
     Format: TestRunParameters.Parameter(name=\"<name>\", value=\"<value>\")

getting this error ^^ from my jenkins pipeline

dotnet test \"${workspace}\\Automated Tests\\Automated Tests.csproj\" -- TestRunParameters.Parameter(name=\"pathToExe\", value=\"${workspace}\\Builds\\output\\OMS.exe\")
dotnet test \"${workspace}\\Automated Tests\\Automated Tests.csproj\" -- TestRunParameters.Parameter(name=\"pathToExe\", value=\"${workspace}\\Builds\\output\\OMS.exe\")


is what im using.

Am I doing something obviously stupidly wrong?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

dotnet test app.cs
C#CC# / help
4mo ago
Dotnet webapi test failing on GitHub Workflow
C#CC# / help
12mo ago
MSTest dotnet Test failing from the command prompt
C#CC# / help
2y ago