Class TestResultCleanupListener.RunCompletionListener
java.lang.Object
hudson.model.listeners.RunListener<Run>
io.jenkins.plugins.junit.storage.database.TestResultCleanupListener.RunCompletionListener
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
TestResultCleanupListener
@Extension
public static class TestResultCleanupListener.RunCompletionListener
extends RunListener<Run>
Final safeguard: makes sure the cached results for a build are refreshed once it is fully
finalized, in case some other invalidation path (e.g. a crashed agent that never returned from
a remoting call) failed to run. Normal freshness after each
junit step is provided by
DatabaseTestResultStorage's remote publisher invalidating the cache as soon as its
publish call returns.-
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 -
Method Summary
Methods inherited from class hudson.model.listeners.RunListener
all, allowLoad, createLoadAllower, fireCompleted, fireDeleted, fireFinalized, fireInitialize, fireStarted, onCompleted, onDeleted, onInitialize, onStarted, register, setUpEnvironment, unregister
-
Constructor Details
-
RunCompletionListener
public RunCompletionListener()
-
-
Method Details
-
onFinalized
- Overrides:
onFinalizedin classRunListener<Run>
-