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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: m2-extra-steps-plugin
    • Labels:
      None
    • Environment:
      m2-extra steps 1.1.2, Hudson 1.351
    • Similar Issues:

      Description

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

        Attachments

          Issue Links

            Activity

            Hide
            kohsuke Kohsuke Kawaguchi added a comment -

            JENKINS-8054 is fixed in 1.398

            Show
            kohsuke Kohsuke Kawaguchi added a comment - JENKINS-8054 is fixed in 1.398
            Hide
            scm_issue_link 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

            Show
            scm_issue_link 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
            Hide
            scm_issue_link 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'

            Originally-Committed-As: 7ef707390d5eb8df2e0244dad1a1708cdca055e2

            Show
            scm_issue_link 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

              People

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

                Dates

                Created:
                Updated:
                Resolved: