Hello Everyone,

One of my Jenkins job is executing MS Test. I am passing the following 
value to the MS Test plugin:

*del TestResults.trx*
*"C:\Program Files (x86)\Microsoft Visual Studio 
12.0\Common7\IDE\MSTest.exe" 
/testcontainer:D:\Projects\Jenkins\TestResultVerificationFromJenkins\TestResultVerificationFromJenkins\bin\Debug\TestResultVerificationFromJenkins.dll
 
/resultsfile:TestResults.trx /nologo /detail:stdout*


At the time of execution, Console Output is displaying the following values:

*Starting execution...
Results               Top Level Tests
-------               ---------------
Passed                TestResultVerificationFromJenkins.UnitTest1.PassTest
[stdout] = Test is passed

1/1 test(s) Passed
Summary
-------
Test Run Completed.
  Passed  1
  ---------
  Total   1
Results file:  C:\Program Files 
(x86)\Jenkins\jobs\JenkinsTestResultReader\workspace\TestResults.trx
Test Settings: Default Test Settings*


In the post build step, I have to pass the MS test result "*Test is passed" *  
to a HTTP Request.


Is there any way to save this result in a Jenkins variable so that I can pass 
that to HTTP Request?


Regards,

Umesh

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e4eefa82-e95e-4e3a-9af7-2381cafb750e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to