Abort module build when maven build is aborted

[JENKINS-19801](https://issues.jenkins-ci.org/browse/JENKINS-19801)