diff --git a/.gitignore b/.gitignore index bab2482..575f077 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ /*.iml work/ +**/rebel.xml ## Directory-based project format: .idea/ # if you remove the above rule, at least ignore the following: diff --git a/src/main/java/org/zeroturnaround/jenkins/flowbuildtestaggregator/FlowTestAggregator.java b/src/main/java/org/zeroturnaround/jenkins/flowbuildtestaggregator/FlowTestAggregator.java index 7fda51c..3871111 100644 --- a/src/main/java/org/zeroturnaround/jenkins/flowbuildtestaggregator/FlowTestAggregator.java +++ b/src/main/java/org/zeroturnaround/jenkins/flowbuildtestaggregator/FlowTestAggregator.java @@ -41,9 +41,8 @@ public BuildStepMonitor getRequiredMonitorService() { @Override public boolean perform(AbstractBuild build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException { - FlowTestResults testResults = new FlowTestResults(); - build.addAction(testResults); FlowRun flowRun = (FlowRun) build; + FlowTestResults testResults = new FlowTestResults(); flowRun.addAction(testResults); listener.getLogger().println("Starting to gather test results!"); try {