Skip to content

Commit

Permalink
Update Run.java
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Feb 18, 2025
1 parent 97d64de commit 5d19596
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/main/java/hudson/model/Run.java
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
import jenkins.model.JenkinsLocationConfiguration;
import jenkins.model.RunAction2;
import jenkins.model.StandardArtifactManager;
import jenkins.model.details.CauseDetail;
import jenkins.model.details.Detail;
import jenkins.model.details.DetailFactory;
import jenkins.model.details.DurationDetail;
Expand Down Expand Up @@ -2684,7 +2685,7 @@ public Class<Run> type() {
}

@NonNull @Override public List<? extends Detail> createFor(@NonNull Run target) {
return List.of(new TimestampDetail(target), new DurationDetail(target));
return List.of(new TimestampDetail(target), new DurationDetail(target), new CauseDetail(target));
}
}
}

0 comments on commit 5d19596

Please sign in to comment.