diff --git a/src/main/java/com/customatics/leaptest_plugin/PluginHandler.java b/src/main/java/com/customatics/leaptest_plugin/PluginHandler.java index 9bf52df..300e427 100644 --- a/src/main/java/com/customatics/leaptest_plugin/PluginHandler.java +++ b/src/main/java/com/customatics/leaptest_plugin/PluginHandler.java @@ -462,7 +462,7 @@ public void createJUnitReport(FilePath workspace, String JUnitReportFile, final if(workspace.isRemote()) { VirtualChannel channel = workspace.getChannel(); - reportFile = new FilePath(channel, Paths.get(workspace.toURI().getPath(), JUnitReportFile).toString()); + reportFile = new FilePath(channel, workspace.toURI().getPath() + "/" + JUnitReportFile); listener.getLogger().println(String.format(Messages.FULL_REPORT_FILE_PATH,reportFile.toURI().getPath())); } else