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

M2 Extra Steps Plugin Post Build Steps only fires when set to run "regardless"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • m2-extra-steps-plugin
    • None
    • Platform: Sun, OS: Solaris

      I have configured an External Shell M2 Extra Steps post build step. I configured
      it to only be executed if the build was a success. The build is a maven goal of
      release:prepare. The build succeeds but the post step does not execute.

      I added a pre build step, this was executed. I removed the pre build step.

      I modified the config to run the post build step if the build was either
      successful or unstable. The job ran, the build was a success but the post build
      step did not run.

      I modified the config to run the post build step "Run regardless of build
      result". I ran the job, the build was a success and the post build step was run.

      It appears that the post build shell script step is only run if the Post Build
      Run Criteria is set to "Run regardless of build result"

            abayer Andrew Bayer
            russell_ioko russell_ioko
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: