Skip to content

Commit

Permalink
Merge pull request #663 from Vlatombe/watch-only-slavecomputer-logs
Browse files Browse the repository at this point in the history
Only keep logs from agents
  • Loading branch information
Vlatombe authored Dec 12, 2019
2 parents d639b17 + 2857564 commit 57f7d8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void runInPod() throws Exception {

Map<String, String> labels = getLabels(cloud, this, name);
SemaphoreStep.waitForStart("pod/1", b);
for (Computer c : r.jenkins.getComputers()) { // TODO perhaps this should be built into JenkinsRule via ComputerListener.preLaunch?
for (Computer c : Arrays.stream(r.jenkins.getComputers()).filter(c -> c instanceof SlaveComputer).collect(Collectors.toList())) { // TODO perhaps this should be built into JenkinsRule via ComputerListener.preLaunch?
new Thread(() -> {
long pos = 0;
try {
Expand Down

0 comments on commit 57f7d8e

Please sign in to comment.