I have a post-build script written in Groovy in my maven-invoker-plugin setup. How can I access the console output of an integration test in this script? I want to check that certain text has been printed.
CodePudding user response:
I think this is the property you are looking for:
Property: invoker.streamLogs
Default value: false
Description: Flag used to determine whether the build logs
should be output to the normal mojo log.
See this method for how logging is handled:
CodePudding user response:
The entire log is stored into the build.log
file, which is placed in the logDirectory
.