Skip to content

Commit

Permalink
Stopped using the @deprecated constructor and use Run#addAction instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Tõnis Pool committed Aug 30, 2015
1 parent 19e9df4 commit 54970b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ public BuildStepMonitor getRequiredMonitorService() {

@Override
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException {
FlowTestResults testResults = new FlowTestResults(build);
FlowTestResults testResults = new FlowTestResults();
build.addAction(testResults);
FlowRun flowRun = (FlowRun) build;
flowRun.addAction(testResults);
listener.getLogger().println("Starting to gather test results!");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@

public class FlowTestResults extends AggregatedTestResultAction {

public FlowTestResults(AbstractBuild owner) {
super(owner);
}

@Override
protected String getChildName(AbstractTestResultAction tr) {
return tr.owner.getProject().getFullName();
Expand Down

0 comments on commit 54970b9

Please sign in to comment.