Class GitVersionNodeMonitor
java.lang.Object
hudson.node_monitors.NodeMonitor
io.jenkins.plugins.gitversionmonitor.GitVersionNodeMonitor
- All Implemented Interfaces:
ExtensionPoint,Describable<NodeMonitor>
Node monitor that reports the version of Git installed on each node, with the full version
as a tooltip. Nodes with an older Git than the controller are marked with a warning.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.node_monitors.NodeMonitor
LIST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTooltip(@Nullable GitVersionInfo info) The full version, with the controller's version added if the node is outdated.booleanisOutdated(@Nullable GitVersionInfo info) Whether the node has an older Git than the controller.toHtml(@Nullable GitVersionInfo info) The version shown in the column, orN/Aif it is unknown.Methods inherited from class hudson.node_monitors.NodeMonitor
all, data, getAll, getColumnCaption, getDescriptor, isIgnored, setIgnored, triggerUpdate
-
Constructor Details
-
GitVersionNodeMonitor
@DataBoundConstructor public GitVersionNodeMonitor()
-
-
Method Details
-
toHtml
The version shown in the column, orN/Aif it is unknown. -
isOutdated
Whether the node has an older Git than the controller. A node with a newer Git, or with a version that is unknown on either side, is not outdated. -
getTooltip
The full version, with the controller's version added if the node is outdated. Empty if the version is unknown.
-