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

Modules of a Maven multimodule-build are not marked as FAILED/FAILURE in Hudson when dependencies cannot be resolved

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None
    • Maven 2 (does work with maven 3)

      If a Module of a multimodule Maven build fails during compile it is marked as FAILED in the reactor summary (end of the build). If a module fails due to nonresolvable dependencies (for example version that does not exist), it is marked as FAILED in the reactor summary, but in Hudson it gets the status SUCCESS (job.getBuildByNumber(number).getResult() == Result.SUCCESS) instead of FAILURE.

      Hudson console (reactor summary):

      [Info] TestProject3 ...................................... FAILED [0.244s]

      Plugin code:

      job.getBuildByNumber(number).getResult().toString() => SUCCESS

          [JENKINS-7036] Modules of a Maven multimodule-build are not marked as FAILED/FAILURE in Hudson when dependencies cannot be resolved

          dtriphaus created issue -
          dtriphaus made changes -
          Component/s New: maven2 [ 15487 ]
          Component/s Original: core [ 15593 ]
          kutzi made changes -
          Resolution New: Incomplete [ 4 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          kutzi made changes -
          Assignee New: kutzi [ kutzi ]
          kutzi made changes -
          Resolution Original: Incomplete [ 4 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          kutzi made changes -
          Environment Original: Linux New: Maven 2 (does work with maven 3)
          kutzi made changes -
          Assignee Original: kutzi [ kutzi ] New: Olivier Lamy [ olamy ]
          kutzi made changes -
          Attachment New: test-project-JENKINS-7036.zip [ 20787 ]
          dtriphaus made changes -
          Attachment New: TestPlugin.hpi [ 20789 ]
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 137133 ] New: JNJira + In-Review [ 185961 ]

            Unassigned Unassigned
            dtriphaus dtriphaus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: