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

Post-build step is also invoked if build is aborted though "Run only if build succeeds" is selected

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • m2-extra-steps-plugin
    • None
    • m2-extra steps 1.1.2, Hudson 1.351

      The post-build step is executed on aborted builds even if "Run only if build succeeds" is selected

          [JENKINS-7864] Post-build step is also invoked if build is aborted though "Run only if build succeeds" is selected

          JENKINS-8054 is fixed in 1.398

          Kohsuke Kawaguchi added a comment - JENKINS-8054 is fixed in 1.398

          Code changed in jenkins
          User: Mikko Peltonen
          Path:
          src/main/java/hudson/maven/MavenModuleSetBuild.java
          http://jenkins-ci.org/commit/maven-plugin/978a23428ad48789b01ef1e7cb14ea37785e5999
          Log:
          Set 'Aborted' result before invoking BuildWrapper's tearDown. Fixes JENKINS-7864 and JENKINS-8054.

          Originally-Committed-As: 9c965617b3b385ef65eaf50860865c05a114a01d

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Mikko Peltonen Path: src/main/java/hudson/maven/MavenModuleSetBuild.java http://jenkins-ci.org/commit/maven-plugin/978a23428ad48789b01ef1e7cb14ea37785e5999 Log: Set 'Aborted' result before invoking BuildWrapper's tearDown. Fixes JENKINS-7864 and JENKINS-8054 . Originally-Committed-As: 9c965617b3b385ef65eaf50860865c05a114a01d

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          src/main/java/hudson/maven/MavenModuleSetBuild.java
          http://jenkins-ci.org/commit/maven-plugin/ca87835ac51ffa67278cfee342d3bfbbc1fa36eb
          Log:
          Merge branch 'JENKINS-8054'

          Originally-Committed-As: 7ef707390d5eb8df2e0244dad1a1708cdca055e2

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: src/main/java/hudson/maven/MavenModuleSetBuild.java http://jenkins-ci.org/commit/maven-plugin/ca87835ac51ffa67278cfee342d3bfbbc1fa36eb Log: Merge branch ' JENKINS-8054 ' JENKINS-8054 : Set 'Aborted' result before invoking BuildWrapper's tearDown. Fixes JENKINS-7864 and JENKINS-8054 . Originally-Committed-As: 7ef707390d5eb8df2e0244dad1a1708cdca055e2

            abayer Andrew Bayer
            kutzi kutzi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: