Class JUnitPointGenerator
java.lang.Object
jenkinsci.plugins.influxdb.generators.AbstractPointGenerator
jenkinsci.plugins.influxdb.generators.JUnitPointGenerator
- All Implemented Interfaces:
PointGenerator
-
Field Summary
Fields inherited from class jenkinsci.plugins.influxdb.generators.AbstractPointGenerator
build, BUILD_NUMBER, CUSTOM_PREFIX, INSTANCE, PROJECT_NAME, PROJECT_NAMESPACE, PROJECT_PATH, timestamp
-
Constructor Summary
ConstructorDescriptionJUnitPointGenerator
(Run<?, ?> build, TaskListener listener, ProjectNameRenderer projectNameRenderer, long timestamp, String jenkinsEnvParameterTag, String customPrefix, EnvVars env) -
Method Summary
Methods inherited from class jenkinsci.plugins.influxdb.generators.AbstractPointGenerator
buildPoint, buildPoint, parsePropertiesString, resolveEnvParameterAndTransformToMap
-
Constructor Details
-
JUnitPointGenerator
public JUnitPointGenerator(Run<?, ?> build, TaskListener listener, ProjectNameRenderer projectNameRenderer, long timestamp, String jenkinsEnvParameterTag, String customPrefix, EnvVars env)
-
-
Method Details
-
hasReport
public boolean hasReport()- Returns:
- true, if environment variable LOG_JUNIT_RESULTS is set to true and JUnit Reports exist
-
generate
public com.influxdb.client.write.Point[] generate()
-