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

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




      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"



          russell_ioko russell_ioko created issue -
          scm_issue_link SCM/JIRA link daemon made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          zoosnack zoosnack made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          abayer Andrew Bayer made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 134538 ] JNJira + In-Review [ 186823 ]


            abayer Andrew Bayer
            russell_ioko russell_ioko
            2 Vote for this issue
            2 Start watching this issue