add Build Listener
Adds a BuildListener to this Build instance. The listener is notified of events which occur during the execution of the build.
BuildListener is not supported when the configuration cache is enabled. Check the individual methods of BuildListener for compatible replacements.
Parameters
build Listener
The listener to add.