Skip to content

Commit

Permalink
javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
avaiss committed Sep 17, 2017
1 parent 89ccfdd commit 4042705
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/main/java/hudson/tasks/junit/JUnitResultArchiver.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,16 @@ public class JUnitResultArchiver extends Recorder implements SimpleBuildStep {
*/
private boolean keepLongStdio;

/**
* Size of stdout/stderr to keep for a succeeded test.
* @since 1.23
*/
private int maxSucceededSize;

/**
* Size of stdout/stderr to keep for a failed test.
* @since 1.23
*/
private int maxFailedSize;

/**
Expand Down Expand Up @@ -129,8 +137,8 @@ private TestResult parse(String expandedTestResults, Run<?,?> run, @Nonnull File
throws IOException, InterruptedException
{
return new JUnitParser(new KeepStdioConfig(this.isKeepLongStdio(),
this.getMaxSucceededSize(),
this.getMaxFailedSize()),
this.getMaxSucceededSize(),
this.getMaxFailedSize()),
this.isAllowEmptyResults())
.parseResult(expandedTestResults, run, workspace, launcher, listener);
}
Expand Down

0 comments on commit 4042705

Please sign in to comment.