Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6386

Post Build Steps not run with some incremental builds

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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:

      [INFO] No goals needed for project - skipping

      3. The build is successful according to maven

      [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] ------------------------------------------------------------------------

      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.

        Attachments

          Activity

          Hide
          evernat evernat added a comment -

          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?

          Show
          evernat evernat added a comment - 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?
          Hide
          evernat evernat added a comment -

          No response from the reporter, so resolving as incomplete.

          Show
          evernat evernat added a comment - No response from the reporter, so resolving as incomplete.

            People

            Assignee:
            abayer Andrew Bayer
            Reporter:
            mhaefele mhaefele
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: