I need to redirect maven build test errors (including full exception) which I see in Jenkins build console into a specific file using cucumber+java+spring?
I've tried to use redirectTestOutputToFile and useFile but it outputs only errors into separate file, not the one I need.