I am running C#/Selenium tests in Jenkins via a batch file.
Example call "C:\FrontEnd\MobileRegression.bat"
And inside the bat file
c:\SpecRun\SpecRun.exe run Default.srprofile /baseFolder:C:\testBase /filter:"@MobileGalaxy" /log:specrun.log /outputfolder:output /report:MobileGalaxy.html
This works fine and in this examplw there are 10 scenarios to be run. Sometimes 1 or 2 of the scenarios fail but they are set to rertry twice more if this happens and always they pass on the 2nd or 3rd try. So at the end of the run the result is a Pass and because some of the scenarios failed on their first run Jenkins logs this as a fail. Is there anyway of changing this (for example if 90% of tests pass then mark as PASS)?
Thanks in advance for any help
Kev