[ https://issues.jenkins-ci.org/browse/JENKINS-6386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158895#comment-158895 ]
evernat commented on JENKINS-6386: ---------------------------------- The m2-extra-steps plugin is now deprecated and the functionality is now in Jenkins core. Is the issue reproduced with core without the m2-extra-steps plugin? > Post Build Steps not run with some incremental builds > ----------------------------------------------------- > > Key: JENKINS-6386 > URL: https://issues.jenkins-ci.org/browse/JENKINS-6386 > Project: Jenkins > Issue Type: Bug > Components: m2-extra-steps > Affects Versions: current > Reporter: mhaefele > Assignee: abayer > > Configuration: > * Maven aggregator build. > * Incremental build turned on. > * Triggered by SVN > * Some post build step. > * Run Only If Build Succeeded selected. > Steps: > 1. Change some file in the SVN project unrelated to maven (say a README.txt). > Outcome: > 1. Hudson will checkout the changes and run maven. > 2. Maven will report no changes: > {code}[INFO] No goals needed for project - skipping{code} > 3. The build is successful according to maven > {code}[INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 7 seconds > [INFO] Finished at: Thu Apr 22 13:21:26 EDT 2010 > [INFO] Final Memory: 14M/27M > [INFO] > ------------------------------------------------------------------------{code} > 4. *The post build steps are not run.* > 5. Hudson reports the build as successful. > Expected: > The post build steps are run as the build was successful (according to Maven > output and Hudson). > Or: > Is there a use case for not running the post build steps when maven does not > run any goals? > In this case, "Run Only If Build Succeeded" could be split into two options > based on whether Maven runs goals. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira