Skip to content

Commit

Permalink
Compiler warning for java property over env var reference
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdailey99 committed Sep 11, 2024
1 parent 3990d0a commit b60812c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/jenkins/plugins/ProvarAutomation.java
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ public boolean configure(StaplerRequest req, JSONObject json) throws FormExcepti
public static final String defaultTestPlan = "Regression";
public static final String defaultTestFolder = "All";
static String windowsLicensePath = "C:\\Users\\" + System.getProperty("user.name") + "\\Provar\\.licenses";
static String unixLicensePath = System.getenv("HOME") + "/Provar/.licenses";
static String unixLicensePath = System.getProperty("user.home") + "/Provar/.licenses";
static String osName = System.getProperty("os.name");
public static final String defaultLicensePath = osName.contains("Windows") ? windowsLicensePath : unixLicensePath;
public static final SalesforceMetadataCacheSettings defaultSalesforceMetadataCacheSetting = SalesforceMetadataCacheSettings.Reuse;
Expand Down

0 comments on commit b60812c

Please sign in to comment.