Class GlobalRunListener
- java.lang.Object
-
- hudson.model.listeners.RunListener<Run<?,?>>
-
- jenkinsci.plugins.influxdb.global.GlobalRunListener
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class GlobalRunListener extends RunListener<Run<?,?>>
Listens to all builds being completed and publishes their metrics to InfluxDB.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.listeners.RunListener
LISTENERS, targetType
-
-
Constructor Summary
Constructors Constructor Description GlobalRunListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCompleted(Run<?,?> build, TaskListener listener)
-
Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireInitialize, fireStarted, onDeleted, onFinalized, onInitialize, onStarted, register, setUpEnvironment, unregister
-
-
-
-
Method Detail
-
onCompleted
public void onCompleted(Run<?,?> build, @Nonnull TaskListener listener)
- Overrides:
onCompleted
in classRunListener<Run<?,?>>
-
-