jacocotogo:tcp

Full name:

org.helmetsrequired:jacocotogo-maven-plugin:1.0:tcp

Description:

Plugin to allow fetching jacoco data from remote servers where the jacoco javaagent is running with output=tcpserver

Attributes:

  • Requires a Maven project to be executed.

Required Parameters

Name Type Since Description
failOnError boolean - Whether the build should be failed if JaCoCo execution data can not be fetched
Default value is: false.
User property is: jacocotogo.failOnError.
hostname String - The hostname where the jacoco javaagent is running
User property is: jacocotogo.hostname.
outputFile String - The file to write with the fetched jacoco data
Default value is: ${project.build.directory}/jacocotogo/jacoco.exec.
User property is: jacocotogo.outputFile.
port int - The port where the tcpserver is listening
User property is: jacocotogo.port.

Optional Parameters

Name Type Since Description
resetAfterFetch boolean - whether to reset the coverage statistics after fetching the jacoco data
Default value is: true.
User property is: jacocotogo.resetAfterFetch.

Parameter Details

failOnError:

Whether the build should be failed if JaCoCo execution data can not be fetched
  • Type: boolean
  • Required: Yes
  • User Property: jacocotogo.failOnError
  • Default: false

hostname:

The hostname where the jacoco javaagent is running
  • Type: java.lang.String
  • Required: Yes
  • User Property: jacocotogo.hostname

outputFile:

The file to write with the fetched jacoco data
  • Type: java.lang.String
  • Required: Yes
  • User Property: jacocotogo.outputFile
  • Default: ${project.build.directory}/jacocotogo/jacoco.exec

port:

The port where the tcpserver is listening
  • Type: int
  • Required: Yes
  • User Property: jacocotogo.port

resetAfterFetch:

whether to reset the coverage statistics after fetching the jacoco data
  • Type: boolean
  • Required: No
  • User Property: jacocotogo.resetAfterFetch
  • Default: true