Skip to content

Commit

Permalink
Update names of Pipeline-related support bundle components to be more…
Browse files Browse the repository at this point in the history
… generic
  • Loading branch information
dwnusbaum committed Aug 13, 2024
1 parent 60a014c commit e8af1ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2043,15 +2043,15 @@ public void autopersist(@NonNull FlowNode n) throws IOException {
}

@Override public String getDisplayName() {
return "Timing data about recently completed Pipeline builds";
return "Recently completed Pipeline builds";
}

@Override public ComponentCategory getCategory() {
return ComponentCategory.BUILDS;
}

@Override public void addContents(Container container) {
container.add(new Content("nodes/master/pipeline-timings.txt") {
container.add(new Content("nodes/master/pipeline-recent-builds.txt") {
@Override public void writeTo(OutputStream outputStream) throws IOException {
PrintWriter pw = new PrintWriter(new OutputStreamWriter(outputStream, StandardCharsets.UTF_8));
for (Job<?, ?> job : Jenkins.get().getAllItems(Job.class)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ public CpsThreadDump getThreadDump() {
}

@Override public String getDisplayName() {
return "Thread dumps of running Pipeline builds";
return "Running Pipeline builds";
}

@Override public ComponentCategory getCategory() {
return ComponentCategory.BUILDS;
}

@Override public void addContents(Container container) {
container.add(new Content("nodes/master/pipeline-thread-dump.txt") {
container.add(new Content("nodes/master/pipeline-running-builds.txt") {
@Override public void writeTo(OutputStream outputStream) {
PrintWriter pw = new PrintWriter(new OutputStreamWriter(outputStream, StandardCharsets.UTF_8));
for (FlowExecution flow : FlowExecutionList.get()) {
Expand Down

0 comments on commit e8af1ac

Please sign in to comment.