In Azure Pipeline , How to reuse the test pass percentage value from one job to another job

Copper Contributor

Hi All , 
  I'm working as selenium automation tester and using azure pipeline to run my test automation scripts (java), I'm trying to implement fail_fast feature in azure pipeline but am stuck with the implementation , kindly provide advice on the below scenario 


I have two jobs say Job A and Job B , where Job A executes the smoke test and then job b executes regression test . I'm trying to implement the fail_fast approach here that is to execute job B only when job A test pass percentage is above 90 % .


So I use PublishTestResult task to produce the result am unable to grab the test pass percentage from Job A , Kindly advice how can i use the pass percentage of job A in Job B 



1 Reply