You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/framework-jacoco_agent.md
+16-7Lines changed: 16 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,13 +21,22 @@ Users may optionally provide their own JaCoCo service. A user-provided JaCoCo se
21
21
22
22
The credential payload of the service may contain the following entries:
23
23
24
-
| Name | Description
25
-
| ---- | -----------
26
-
| `address` | The host for the agent to connect to or listen on
27
-
| `excludes` | (Optional) A list of class names that should be excluded from execution analysis. The list entries are separated by a colon (:) and may use wildcard characters (* and ?).
28
-
| `includes` | (Optional) A list of class names that should be included in execution analysis. The list entries are separated by a colon (:) and may use wildcard characters (* and ?).
29
-
| `port` | (Optional) The port for the agent to connect to or listen on
30
-
| `output` | (Optional) The mode for the agent. Possible values are either tcpclient (default) or tcpserver.
24
+
| Name | Description
25
+
|------------------------|------------
26
+
| `address` | The host for the agent to connect to or listen on.
27
+
| `destfile` | (Optional) The path to the file where execution data is written. Default is `jacoco.exec`.
28
+
| `sessionid` | (Optional) The identifier for the coverage session. Useful for distinguishing between different test runs.
29
+
| `append` | (Optional) If set to `true`, coverage data is appended to the existing file. Default is `false`.
30
+
| `includes` | (Optional) A list of class names to include in execution analysis. Entries are separated by a colon (`:`) and may use wildcards (`*`, `?`).
31
+
| `excludes` | (Optional) A list of class names to exclude from execution analysis. Entries are separated by a colon (`:`) and may use wildcards (`*`, `?`).
32
+
| `exclclassloader` | (Optional) A list of class loader names to exclude from instrumentation. Entries are separated by a colon (`:`).
33
+
| `inclbootstrapclasses` | (Optional) If set to `true`, includes bootstrap classes for instrumentation. Default is `false`.
34
+
| `inclnolocationclasses`| (Optional) If set to `true`, includes classes without a location for instrumentation. Default is `false`.
35
+
| `dumponexit` | (Optional) If set to `true`, coverage data is written on JVM shutdown. Default is `true`.
36
+
| `output` | (Optional) The mode for the agent. Possible values are `tcpclient` (default) or `tcpserver`.
37
+
| `port` | (Optional) The port for the agent to connect to or listen on.
38
+
| `classdumpdir` | (Optional) The directory where class files are dumped if class dumping is enabled.
39
+
| `jmx` | (Optional) If set to `true`, enables JMX control for the agent. Default is `false`.
31
40
32
41
## Configuration
33
42
For general information on configuring the buildpack, including how to specify configuration values through environment variables, refer to [Configuration and Extension][].
0 commit comments