Extract text from Current Jenkins Console Log

2k Views Asked by At

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
-------------------------------
0

There are 0 best solutions below