From b9b9207a9ecea64e419306005b8422a9595e9db5 Mon Sep 17 00:00:00 2001 From: "Claus Schneider (Praqma)" Date: Sat, 30 Nov 2019 00:01:01 +0100 Subject: [PATCH] gh-27 Fix Windows path problem --- .../java/com/customatics/leaptest_plugin/PluginHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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