Use TaskListener rather than BuildListener for SCM methods.