jacocotogo:tcp

Full name:

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

Description:

Retrieves jacoco data from remote servers where the jacoco javaagent is running with output=tcpserver

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 1.0.

Required Parameters

Name Type Since Description
failOnError boolean 1.0 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 1.0 The hostname where the jacoco javaagent is running
User property is: jacocotogo.hostname.
outputFile String 1.0 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 1.0 The port where the tcpserver is listening
User property is: jacocotogo.port.

Optional Parameters

Name Type Since Description
resetAfterFetch boolean 1.0 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
  • Since: 1.0
  • Required: Yes
  • User Property: jacocotogo.failOnError
  • Default: false

hostname:

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

outputFile:

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

port:

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

resetAfterFetch:

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