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 Stringprotected static final Stringprotected static final Stringprotected static final StringFields 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
Modifier and TypeMethodDescriptiongenerate()Generates Git Points with datas in Git pluginsbooleanCheck if git infos are presents in the buildMethods 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
Generates Git Points with datas in Git plugins- Returns:
- Array of Point
-