From cf49ce737f19e44c547c952333afd9a893695ed8 Mon Sep 17 00:00:00 2001 From: Michael Dailey Date: Thu, 4 Jan 2024 15:57:18 -0600 Subject: [PATCH] Corrected license path parameter for windows scripted pipeline --- src/test/java/io/jenkins/plugins/ProvarAutomationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/io/jenkins/plugins/ProvarAutomationTest.java b/src/test/java/io/jenkins/plugins/ProvarAutomationTest.java index c3b4f08..624f39b 100644 --- a/src/test/java/io/jenkins/plugins/ProvarAutomationTest.java +++ b/src/test/java/io/jenkins/plugins/ProvarAutomationTest.java @@ -50,7 +50,7 @@ public class ProvarAutomationTest { final String testPlan = "Regression"; final String testFolder = "all"; final String environment = "Dev"; - static String windowsLicensePath = "C:\\Users\\" + System.getProperty("user.name") + "\\Provar\\.licenses"; + static String windowsLicensePath = "C:/Users/" + System.getProperty("user.name") + "/Provar/.licenses"; static String unixLicensePath = System.getenv("HOME") + "/Provar/.licenses"; static String osName = System.getProperty("os.name"); final String licensePath = osName.contains("Windows") ? windowsLicensePath : unixLicensePath;