-
Bug
-
Resolution: Unresolved
-
Critical
-
None
Hi Team,
I am using BFA in my project to match some errors. After reading the documentation of this plugin, it is supposed to match all the right cases/lines based on the regex. But it does not.
Please see my attached screenshots, the names of which are in operation order.
Failure Cause: Jasmine Tests Failure, it is supposed to match two places. But it only matches one. After i added exact the same build log indication to this failure cause again, it matches all places. This does not sound right. It should match all places at the first place.
Failure Cause: Checkstyle Error, same symptom as above. I added the regex, but it doesn't match all. After i added same indication again in the failure cause, it matches all cases.
How can i make it work properly? eg: .checkstyle error. -> highligh all logs that matches this regex
Is this the expected behavior? Or Am i using it in a wrong way?
Could you look into it please? Thanks in advance!
Thanks,
Alice
It would be interesting to debug this, but I tried reproducing this with the latest BFA, 1.26 and Jenkins 2.222.1 without success.
I made a build which produces the same text on 2 lines and then failed the build.
I created an indication which hit that line and got 2 lines marked in my log.
Can you reproduce this error in the simple fashion I described?