I have a requirement where in the last stage of the pipeline I need to check the Jenkins console log of that build for something like below. And get that into a variable as I have to pass that to something else.
----------Test Result----------
<Test 1>: Result 1
<Test 2>: Result 2
...
<Test n>: Result n
-------------------------------