Skip to content
Permalink
Browse files

JENKINS-39714: No badge shown for unstable builds

-adapted the permalink to be shown also for unstable builds
-this also causes the list view column to show an unstable build
  • Loading branch information
shillner committed Nov 15, 2016
1 parent cc15567 commit e5284cb042938eef023cd94ddd7dba120dcba37d
@@ -42,7 +42,7 @@
public boolean apply(Run<?, ?> run) {
UnleashBadgeAction badgeAction = run.getAction(UnleashBadgeAction.class);
if (badgeAction != null) {
return !run.isBuilding() && badgeAction.isSuccessfulBuild();
return !run.isBuilding() && (badgeAction.isSuccessfulBuild() || badgeAction.isUnstableBuild());
}
return false;
}

0 comments on commit e5284cb

Please sign in to comment.
You can’t perform that action at this time.