public class InfluxDbNotifier extends BuildNotifier
| Modifier and Type | Field and Description |
|---|---|
protected String |
authorization |
protected String |
branchName |
protected InfluxDbNotifierConfig |
config |
protected String |
influxDbUrlString |
protected String |
repoName |
protected String |
repoOwner |
DEFAULT_LONG, DEFAULT_STRING| Constructor and Description |
|---|
InfluxDbNotifier(InfluxDbNotifierConfig config)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled()
Determines whether this notifier is enabled.
|
void |
notifyBuildStageStatus(String jobName,
BuildStage stageItem)
Sends a state change to InfluxDB.
|
void |
notifyFinalBuildStatus(BuildStage.State buildState,
Map<String,Object> parameters)
Sends the final build status to InfluxDB.
|
boolean |
wantsOutOfStageErrors()
Get whether the notifier wants to know about errors that happen outside of a stage.
|
all, getLongprotected String repoOwner
protected String repoName
protected String branchName
protected String influxDbUrlString
protected InfluxDbNotifierConfig config
protected transient String authorization
public InfluxDbNotifier(InfluxDbNotifierConfig config)
config - InfluxDB configuration infopublic boolean isEnabled()
isEnabled in class BuildNotifierpublic boolean wantsOutOfStageErrors()
wantsOutOfStageErrors in class BuildNotifierpublic void notifyBuildStageStatus(String jobName, BuildStage stageItem)
notifyBuildStageStatus in class BuildNotifierjobName - the name of the jobstageItem - stage item describing the new statepublic void notifyFinalBuildStatus(BuildStage.State buildState, Map<String,Object> parameters)
notifyFinalBuildStatus in class BuildNotifierbuildState - the new stateparameters - build parametersCopyright © 2016–2020. All rights reserved.