I want to retrieve this from Jenkins build log by using regex.
OutPut:
======================================================
elapsed: 18.09 | threads: 5 | thread time: 65.80
features: 2 | ignored: 1 | efficiency: 0.73
scenarios: 18 | passed: 18 | failed: 0
======================================================
HTML
<div class="container-info">
<span style ="COLOR: #8B0000; ">${BUILD_LOG_REGEX,regex="^.*?======================================================.*?$",linesAfter=3, maxMatches=1, showTruncatedLines=false}
</span>
</div>
Output:
You can use this RegExp to get the above output:
Note: If stats are in the middle of the sentence exclude the
^in the regular expression.