I am using JUNIT parser and want to set the build result to pass if more than 90% of the test cases have passed and fail it if the test case passed are less than 90%.
to achieve this i can use the Final task which will execute in all cases. How do it set the build result from the script task that I'll add to Final Task.