Class GitPointGenerator
- java.lang.Object
-
- jenkinsci.plugins.influxdb.generators.AbstractPointGenerator
-
- jenkinsci.plugins.influxdb.generators.GitPointGenerator
-
- All Implemented Interfaces:
PointGenerator
public class GitPointGenerator extends AbstractPointGenerator
- Author:
- Mathieu Delrocq
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
GIT_REFERENCE
protected static String
GIT_REPOSITORY
protected static String
GIT_REVISION
protected static String
UNIQUE_ID
-
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
Constructors Constructor Description GitPointGenerator(Run<?,?> build, TaskListener listener, ProjectNameRenderer projectNameRenderer, long timestamp, String jenkinsEnvParameterTag, String customPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.influxdb.client.write.Point[]
generate()
Generates Git Points with datas in Git plugins return Array of Pointboolean
hasReport()
Check if git infos are presents in the build-
Methods inherited from class jenkinsci.plugins.influxdb.generators.AbstractPointGenerator
buildPoint, buildPoint, parsePropertiesString, resolveEnvParameterAndTransformToMap
-
-
-
-
Field Detail
-
GIT_REPOSITORY
protected static final String GIT_REPOSITORY
- See Also:
- Constant Field Values
-
GIT_REVISION
protected static final String GIT_REVISION
- See Also:
- Constant Field Values
-
GIT_REFERENCE
protected static final String GIT_REFERENCE
- See Also:
- Constant Field Values
-
UNIQUE_ID
protected static final String UNIQUE_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GitPointGenerator
public GitPointGenerator(Run<?,?> build, TaskListener listener, ProjectNameRenderer projectNameRenderer, long timestamp, String jenkinsEnvParameterTag, String customPrefix)
-
-