Class GitPointGenerator
java.lang.Object
jenkinsci.plugins.influxdb.generators.AbstractPointGenerator
jenkinsci.plugins.influxdb.generators.GitPointGenerator
- All Implemented Interfaces:
PointGenerator
- Author:
- Mathieu Delrocq
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected static final String
Fields inherited from class jenkinsci.plugins.influxdb.generators.AbstractPointGenerator
build, BUILD_NUMBER, CUSTOM_PREFIX, INSTANCE, listener, PROJECT_NAME, PROJECT_NAMESPACE, PROJECT_PATH, timestamp
-
Constructor Summary
ConstructorsConstructorDescriptionGitPointGenerator
(Run<?, ?> build, TaskListener listener, ProjectNameRenderer projectNameRenderer, long timestamp, String jenkinsEnvParameterTag, String customPrefix) -
Method Summary
Methods inherited from class jenkinsci.plugins.influxdb.generators.AbstractPointGenerator
buildPoint, buildPoint, parsePropertiesString, resolveEnvParameterAndTransformToMap
-
Field Details
-
GIT_REPOSITORY
- See Also:
-
GIT_REVISION
- See Also:
-
GIT_REFERENCE
- See Also:
-
UNIQUE_ID
- See Also:
-
-
Constructor Details
-
GitPointGenerator
public GitPointGenerator(Run<?, ?> build, TaskListener listener, ProjectNameRenderer projectNameRenderer, long timestamp, String jenkinsEnvParameterTag, String customPrefix)
-
-
Method Details
-
hasReport
public boolean hasReport()Check if git infos are presents in the build- Returns:
- true if present
-
generate
public com.influxdb.client.write.Point[] generate()Generates Git Points with datas in Git plugins return Array of Point
-