I've had a similar situation but was looking for a way to tag the scans rather than fail the builds. I was unable to find any solution for this when I went looking. 😕 This question might be better posed in #CFW1EQHNE, also.
r
Roldan Galan
04/14/2022, 4:14 PM
Gradle Enterprise actually track that event and displays it in the performance/buildCache screen, so it should be fairly simple for them to generate a tag.
Probably a nice addition for the custom user data plugin