JENKINS-11013 NOT_BUILT & other build status are reported inconsistently

The rss/atom build result feeds report status as "?"
This commit is contained in:
Richard Mortimer authored and Kohsuke Kawaguchi committed 2011-09-23 15:53:28 -07:00
1 parent eea6d8327b
commit ab2cd0e4ad
2 files changed
+4

No files matched your search

+3
View File
@@ -1622,6 +1622,9 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run
if(getResult()==Result.ABORTED)
return new Summary(false, Messages.Run_Summary_Aborted());
if(getResult()==Result.NOT_BUILT)
return new Summary(false, Messages.Run_Summary_NotBuilt());
if(getResult()==Result.UNSTABLE) {
if(((Run)this) instanceof AbstractBuild) {
AbstractTestResultAction trN = ((AbstractBuild)(Run)this).getTestResultAction();