Here is an interesting bug related to BFA and pipelines.
When the job runs BFA fails to spot the exception as this exceptions seems to reach stdout after BFA runs.
If I force the BFA to rescan the builds it will spot it.
I find this behaviour confusing, can we fix it?
[Pipeline] // timestamps
[Pipeline] End of Pipeline
[BFA] Scanning build for known causes...
[BFA] No failure causes found
[BFA] Done. 0s
org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use method groovy.lang.GroovyObject invokeMethod java.lang.String java.lang.Object (org.jenkinsci.plugins.workflow.cps.CpsClosure2 scm java.util.LinkedHashMap)