Class GitVersionMonitor

java.lang.Object
hudson.node_monitors.NodeMonitor
io.jenkins.plugins.specsmonitor.GitVersionMonitor
All Implemented Interfaces:
ExtensionPoint, Describable<NodeMonitor>

public class GitVersionMonitor extends NodeMonitor
Node monitor that reports the version of Git installed on each node, with the full version string as a tooltip.
  • Constructor Details

    • GitVersionMonitor

      @DataBoundConstructor public GitVersionMonitor()
  • Method Details

    • isOutdated

      public boolean isOutdated(VersionInfo info)
      Whether the node has an older Git than the controller.
    • getTooltip

      public String getTooltip(VersionInfo info)
      The full version, with the controller's version added if the node is outdated.