You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
472 B
16 lines
472 B
addCustomJavaHomeMetadata() |
|
addCustomJavaSourceVersionMetadata() |
|
|
|
void addCustomJavaHomeMetadata() { |
|
def customJavaHome = System.getProperty("customJavaHome") |
|
if (customJavaHome) { |
|
buildScan.value "Custom JAVA_HOME", customJavaHome |
|
} |
|
} |
|
|
|
void addCustomJavaSourceVersionMetadata() { |
|
def customJavaSourceVersion = System.getProperty("customJavaSourceVersion") |
|
if (customJavaSourceVersion) { |
|
buildScan.value "Custom Java Source Version", customJavaSourceVersion |
|
} |
|
}
|
|
|