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

Abort module build when maven build is aborted.

    Details

    • Similar Issues:

      Description

      Hitting stop button aborts build immediately but the module build(s) executed at the time remains in building state (project.isBuilding()==true). Underlying maven process is terminated successfully.

      This bug can be observed from jenkins UI as the module build icon keeps blinking.

      Result of such module builds should be ABORTED.

        Attachments

          Issue Links

            Activity

            Hide
            danielbeck Daniel Beck added a comment -

            May have caused JENKINS-24832.

            Show
            danielbeck Daniel Beck added a comment - May have caused JENKINS-24832 .
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            src/test/java/hudson/maven/MavenBuildTest.java
            http://jenkins-ci.org/commit/maven-plugin/e1e7d22e00d04d98b5af5dfa8cff5b5a7dd79fd1
            Log:
            JENKINS-19801 refactor MavenBuildTest.stopBuildAndAllSubmoduleBuilds

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: src/test/java/hudson/maven/MavenBuildTest.java http://jenkins-ci.org/commit/maven-plugin/e1e7d22e00d04d98b5af5dfa8cff5b5a7dd79fd1 Log: JENKINS-19801 refactor MavenBuildTest.stopBuildAndAllSubmoduleBuilds
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            pom.xml
            src/main/java/hudson/maven/MavenBuild.java
            src/test/java/hudson/maven/MavenBuildTest.java
            http://jenkins-ci.org/commit/maven-plugin/93dfb6529e0f0dd5c695ae61bf8bd21101000b3a
            Log:
            Merge pull request #4 from olivergondza/stop-maven-build

            JENKINS-19801 Abort module build when maven build is aborted

            Compare: https://github.com/jenkinsci/maven-plugin/compare/080b77887b53...93dfb6529e0f

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: pom.xml src/main/java/hudson/maven/MavenBuild.java src/test/java/hudson/maven/MavenBuildTest.java http://jenkins-ci.org/commit/maven-plugin/93dfb6529e0f0dd5c695ae61bf8bd21101000b3a Log: Merge pull request #4 from olivergondza/stop-maven-build JENKINS-19801 Abort module build when maven build is aborted Compare: https://github.com/jenkinsci/maven-plugin/compare/080b77887b53...93dfb6529e0f
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            pom.xml
            http://jenkins-ci.org/commit/maven-plugin/e01eb60574c45b6c16091bfd91a05aa36071df68
            Log:
            [JENKINS-19801 JENKINS-19884] Bump core version to 1.538

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: pom.xml http://jenkins-ci.org/commit/maven-plugin/e01eb60574c45b6c16091bfd91a05aa36071df68 Log: [JENKINS-19801 JENKINS-19884] Bump core version to 1.538
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            src/main/java/hudson/maven/MavenBuild.java
            src/test/java/hudson/maven/MavenBuildTest.java
            http://jenkins-ci.org/commit/maven-plugin/9b7e0a11689561df0129a818bb9af885e8175d3c
            Log:
            JENKINS-19801 Abort module build when maven build is aborted

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: src/main/java/hudson/maven/MavenBuild.java src/test/java/hudson/maven/MavenBuildTest.java http://jenkins-ci.org/commit/maven-plugin/9b7e0a11689561df0129a818bb9af885e8175d3c Log: JENKINS-19801 Abort module build when maven build is aborted
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #2988
            [FIXED JENKINS-19801] Abort module build when maven build is aborted (Revision 02c6393e1e6e5f2ab14d0fd14348373bc649717d)
            JENKINS-19801 Include POST_PRODUCTION state into Run.isInProgress() (Revision e9e5a3af349296b8f92e2edb32e16426afbb2227)

            Result = SUCCESS
            ogondza : 02c6393e1e6e5f2ab14d0fd14348373bc649717d
            Files :

            • core/src/main/java/hudson/model/Run.java
            • maven-plugin/src/main/java/hudson/maven/MavenBuild.java
            • test/src/test/java/hudson/maven/MavenBuildTest.java

            ogondza : e9e5a3af349296b8f92e2edb32e16426afbb2227
            Files :

            • core/src/main/java/hudson/model/Run.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2988 [FIXED JENKINS-19801] Abort module build when maven build is aborted (Revision 02c6393e1e6e5f2ab14d0fd14348373bc649717d) JENKINS-19801 Include POST_PRODUCTION state into Run.isInProgress() (Revision e9e5a3af349296b8f92e2edb32e16426afbb2227) Result = SUCCESS ogondza : 02c6393e1e6e5f2ab14d0fd14348373bc649717d Files : core/src/main/java/hudson/model/Run.java maven-plugin/src/main/java/hudson/maven/MavenBuild.java test/src/test/java/hudson/maven/MavenBuildTest.java ogondza : e9e5a3af349296b8f92e2edb32e16426afbb2227 Files : core/src/main/java/hudson/model/Run.java
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            core/src/main/java/hudson/model/Run.java
            http://jenkins-ci.org/commit/jenkins/e9e5a3af349296b8f92e2edb32e16426afbb2227
            Log:
            JENKINS-19801 Include POST_PRODUCTION state into Run.isInProgress()

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: core/src/main/java/hudson/model/Run.java http://jenkins-ci.org/commit/jenkins/e9e5a3af349296b8f92e2edb32e16426afbb2227 Log: JENKINS-19801 Include POST_PRODUCTION state into Run.isInProgress()
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            core/src/main/java/hudson/model/Run.java
            maven-plugin/src/main/java/hudson/maven/MavenBuild.java
            test/src/test/java/hudson/maven/MavenBuildTest.java
            http://jenkins-ci.org/commit/jenkins/02c6393e1e6e5f2ab14d0fd14348373bc649717d
            Log:
            [FIXED JENKINS-19801] Abort module build when maven build is aborted

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: core/src/main/java/hudson/model/Run.java maven-plugin/src/main/java/hudson/maven/MavenBuild.java test/src/test/java/hudson/maven/MavenBuildTest.java http://jenkins-ci.org/commit/jenkins/02c6393e1e6e5f2ab14d0fd14348373bc649717d Log: [FIXED JENKINS-19801] Abort module build when maven build is aborted

              People

              • Assignee:
                olivergondza Oliver Gondža
                Reporter:
                olivergondza Oliver Gondža
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: