Details
-
Bug
-
Resolution: Fixed
-
normal
-
0.9.0
-
Operating System: All
Platform: All
-
P3
-
New Feature
-
9153
-
356
Description
The information about the Java runtime of the build and the operating system (OS) the build is run on, is provided by environment variables. For security reasons variables are often switched off so that no information about the java runtime and os is in the build.properties or the build report.
To change this, two flags should be added that default to 'true':
1. addJavaRuntimeInfo
execution.property.java.runtime.name
e.g. Java(TM) SE Runtime Environment
execution.property.java.runtime.version
e.g 1.6.0_20-b02
execution.property.java.vendor
e.g. Sun Microsystems Inc.
execution.property.java.vm.name
e.g. Java HotSpot(TM) 64-Bit Server VM
execution.property.sun.management.compiler
e.g. HotSpot 64-Bit Server Compiler
2. addOsInfo
execution.property.os.arch
e.g. amd64
execution.property.os.name
e.g. Windows 7
execution.property.os.version
e.g. 6.1