Skip to content

Commit

Permalink
Corrected license path parameter for windows scripted pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdailey99 committed Jan 4, 2024
1 parent 4bddbd0 commit cf49ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/io/jenkins/plugins/ProvarAutomationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cf49ce7

Please sign in to comment.