Skip to content

Commit

Permalink
[FIXED JENKINS-19021] - Build Description column should reflect previous
Browse files Browse the repository at this point in the history
build while another is in process
  • Loading branch information
fredg02 committed Aug 3, 2013
1 parent 3228719 commit cbaaef9
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -40,10 +40,10 @@ public BuildDescriptionColumn() {
}

public String getBuildDescription(@SuppressWarnings("rawtypes") Job job) {
if (job == null || job.getLastBuild() == null || job.getLastBuild().getDescription() == null) {
if (job == null || job.getLastCompletedBuild() == null || job.getLastCompletedBuild().getDescription() == null) {
return "";
}
return job.getLastBuild().getDescription();
return job.getLastCompletedBuild().getDescription();
}

@Extension
Expand Down

0 comments on commit cbaaef9

Please sign in to comment.