build-time-blame-plugin
build-time-blame-plugin copied to clipboard
Can't access configuration page after adding a too broad regex line
Describe the bug
I added a regex search key that may have been too inclusive, and now when I try to access the Build Time Blame Report
page, it tries to load, and after a while craps out.
To Reproduce Steps to reproduce the behavior:
- Go to the
Build Time Blame Report
page - Add a new
Regex Search Key
regex that is too broad (something like .* [I did not use that one, but can't show the exact one i used for security purposes]) - Click on
Reprocess Report
button - Page hangs, and eventually dies
Expected behavior I would've liked to see some error message saying "regex too inclusive, please reconfigure or remove the problem Regex Search Key"
Additional context Our system admin is able to go into the job-specific config json file and delete the specific problem Regex Search Key manually, but can there be something that can be added to short circuit reprocessing of the report and just show an error message like suggested above?