Hi, I need to build a command line to execute MSTest (I'm the writer of MSTestRunner plugin) that can handle spaces in one of the parameters I pass to MSTest. The parameteris of the form */testcontainer:file-without-spaces.dll* when there are no space and of the form */testcontainer:"file with spaces.dll"* when there are spaces either in the file itself or the path to it.
The problem is I can't find a way to use ArgumentListBuilder to build such parameter. It either put quotes around the whole parameter which result in *"/testcontainer:file with space.dll"* which is not good for MSTest or no quotes at all which cause MSTest to parse the file in the middle and treat the rest of the file name as new parameter. I've also try to abandon ArgumentListBuild and use StringBuilder but then Jenkins put a single quote around my whole command. How can I make Jenkins run command such as *"Full Path To MSTest\MSTest.exe" /noisolation /testcontainer:file1.dll /testcontainer:"c:\test\test2.dll"* * * Thank you, Ido -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
