• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • maven-plugin
    • None

      hello,

      our build fails, because a submodule cannot resolve a depencency.
      the log correctly shows "build failure"

      nevertheless the ball in front of the respective module is green and not red.

          [JENKINS-16522] Wrong status for maven submodule

          I was able to reproduce the issue and generate a junit test in https://github.com/mrebasti/maven-plugin/tree/jenkins-16522.

          When I find a fix, I'll send a pull request.

          Regards

          Marcelo

          Marcelo Rebasti added a comment - I was able to reproduce the issue and generate a junit test in https://github.com/mrebasti/maven-plugin/tree/jenkins-16522 . When I find a fix, I'll send a pull request. Regards Marcelo

          here's the PR: https://github.com/jenkinsci/maven-plugin/pull/6

          Regards.

          Marcelo

          Marcelo Rebasti added a comment - here's the PR: https://github.com/jenkinsci/maven-plugin/pull/6 Regards. Marcelo

          Code changed in jenkins
          User: mrebasti
          Path:
          src/main/java/hudson/maven/Maven3Builder.java
          src/main/java/hudson/maven/MavenBuilder.java
          src/test/java/hudson/maven/MavenBuildTest.java
          src/test/resources/hudson/maven/JENKINS-16522.zip
          http://jenkins-ci.org/commit/maven-plugin/a5714f3fab90c56d46780c5a16bc30a842df2514
          Log:
          Set the correct status of a maven build, in case that one module has test failures and other module don't compile.

          [FIXED JENKINS-16522]
          [FIXED JENKINS-17644]

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: mrebasti Path: src/main/java/hudson/maven/Maven3Builder.java src/main/java/hudson/maven/MavenBuilder.java src/test/java/hudson/maven/MavenBuildTest.java src/test/resources/hudson/maven/ JENKINS-16522 .zip http://jenkins-ci.org/commit/maven-plugin/a5714f3fab90c56d46780c5a16bc30a842df2514 Log: Set the correct status of a maven build, in case that one module has test failures and other module don't compile. [FIXED JENKINS-16522] [FIXED JENKINS-17644]

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          src/main/java/hudson/maven/Maven3Builder.java
          src/main/java/hudson/maven/MavenBuilder.java
          src/test/java/hudson/maven/MavenBuildTest.java
          src/test/resources/hudson/maven/JENKINS-16522.zip
          http://jenkins-ci.org/commit/maven-plugin/6f80083b6248648f1075fab293c80c640b3fb05a
          Log:
          Merge pull request #6 from mrebasti/jenkins-16522

          [FIXED JENKINS-16522] Wrong status for maven submodule

          Compare: https://github.com/jenkinsci/maven-plugin/compare/11b05a7615a4...6f80083b6248

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: src/main/java/hudson/maven/Maven3Builder.java src/main/java/hudson/maven/MavenBuilder.java src/test/java/hudson/maven/MavenBuildTest.java src/test/resources/hudson/maven/ JENKINS-16522 .zip http://jenkins-ci.org/commit/maven-plugin/6f80083b6248648f1075fab293c80c640b3fb05a Log: Merge pull request #6 from mrebasti/jenkins-16522 [FIXED JENKINS-16522] Wrong status for maven submodule Compare: https://github.com/jenkinsci/maven-plugin/compare/11b05a7615a4...6f80083b6248

            mrebasti Marcelo Rebasti
            dark_lx_tomtom Alex Lorenz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: