Execute NUnit with Jenkins

前端 未结 1 907
耶瑟儿~
耶瑟儿~ 2021-01-22 05:49

Good Morning.

I Want to configure Jenkins server to run NUnit with the plugin Jenkins NUnit plugin but i try many thing and doesnt works.

I cli

相关标签:
1条回答
  • 2021-01-22 06:12

    Here is how I run it for a specific hard-coded project

    "C:\Program Files\NUnit 2.6\bin\nunit-console.exe" "nUnitTests\bin\Release\nUnitTests.dll" /xml=nunit-result.xml

    I needed to specify the xml output to ensure that the Violations plugin (which I'm using) could pick up the output and report correctly which may help you once you've got it working.

    Have you tried using %variable% instead of $variable? Within the Windows Batch Command it uses %WORKSPACE% rather than $WORKSPACE for example. That's what I've done in my FxCop/StyleCop batch commands.

    0 讨论(0)
提交回复
热议问题