-
Bug
-
Resolution: Unresolved
-
Major
-
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
Component/s | New: maven2 [ 15487 ] | |
Component/s | Original: core [ 15593 ] |
Resolution | New: Incomplete [ 4 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Assignee | New: kutzi [ kutzi ] |
Resolution | Original: Incomplete [ 4 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Environment | Original: Linux | New: Maven 2 (does work with maven 3) |
Assignee | Original: kutzi [ kutzi ] | New: Olivier Lamy [ olamy ] |
Attachment | New: test-project-JENKINS-7036.zip [ 20787 ] |
Attachment | New: TestPlugin.hpi [ 20789 ] |
Component/s | New: maven-plugin [ 16033 ] | |
Component/s | Original: maven2 [ 15487 ] |
Workflow | Original: JNJira [ 137133 ] | New: JNJira + In-Review [ 185961 ] |