Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
JENKINS-11013 NOT_BUILT & other build status are reported inconsistently
The rss/atom build result feeds report status as "?"
  • Loading branch information
oldelvet authored and kohsuke committed Sep 23, 2011
1 parent eea6d83 commit ab2cd0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/main/java/hudson/model/Run.java
Expand Up @@ -1622,6 +1622,9 @@ public Summary getBuildStatusSummary() {
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();
Expand Down
1 change: 1 addition & 0 deletions core/src/main/resources/hudson/model/Messages.properties
Expand Up @@ -203,6 +203,7 @@ Run.InProgressDuration={0} and counting
Run.Summary.Stable=stable
Run.Summary.Unstable=unstable
Run.Summary.Aborted=aborted
Run.Summary.NotBuilt=not built
Run.Summary.BackToNormal=back to normal
Run.Summary.BrokenForALongTime=broken for a long time
Run.Summary.BrokenSinceThisBuild=broken since this build
Expand Down

0 comments on commit ab2cd0e

Please sign in to comment.