Jesse, the other approach of setting the result in postBuild did not really work unfortunately. I am not sure I understand how and why events are called in Jenkins here. - Say I have a Maven multi-module project *and* have created a Jenkins-Maven-Job. - From the Javadoc of hudson.maven.MavenReporter:
* <pre> * SEQUENCE := preBuild MODULE* postBuild end * MODULE := enterModule MOJO+ leaveModule * MOJO := preExecute postExecute * </pre> What I do not understand: - Should preBuild. postBuild and end not only be called once per Maven execution? I see a lot of postBuild invocations (more than one per module) - For every module in my multi-module build I would expect one invocation per module? Regards Mirko -- http://illegalstateexception.blogspot.com/ https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen) https://bitbucket.org/mfriedenhagen/ On Wed, Dec 17, 2014 at 10:38 PM, Mirko Friedenhagen <[email protected]> wrote: > I now tried a different approach by setting the result in a overridden > postBuild method. However this one is never called. > Regards Mirko > -- > http://illegalstateexception.blogspot.com/ > https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen) > https://bitbucket.org/mfriedenhagen/ > > > On Wed, Dec 17, 2014 at 9:39 PM, Jesse Glick <[email protected]> wrote: >> On Wed, Dec 17, 2014 at 3:19 PM, Mirko Friedenhagen >> <[email protected]> wrote: >>> Is that the solution you had in mind? >> >> No, this should be addressed in maven-plugin. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr3tPNOP_r%2BUv%3De63%2B8zD7xjyZ-0PgVc1xHwa1s6kXogsQ%40mail.gmail.com. >> For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAK8jvqwbhg2vgt5SomiAFXukAGBuMg4%3DWujFSsHv_3suPx_3EA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
