Class GitHubChecksPublisher

java.lang.Object
io.jenkins.plugins.checks.api.ChecksPublisher
io.jenkins.plugins.checks.github.GitHubChecksPublisher

public class GitHubChecksPublisher extends io.jenkins.plugins.checks.api.ChecksPublisher
A publisher which publishes GitHub check runs.
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.jenkins.plugins.checks.api.ChecksPublisher

    io.jenkins.plugins.checks.api.ChecksPublisher.NullChecksPublisher
  • Constructor Summary

    Constructors
    Constructor
    Description
    GitHubChecksPublisher(GitHubChecksContext context, io.jenkins.plugins.util.PluginLogger buildLogger)
    Creates a new instance of GitHubChecksPublisher.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    publish(io.jenkins.plugins.checks.api.ChecksDetails details)
    Publishes a GitHub check run.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GitHubChecksPublisher

      public GitHubChecksPublisher(GitHubChecksContext context, io.jenkins.plugins.util.PluginLogger buildLogger)
      Creates a new instance of GitHubChecksPublisher.
      Parameters:
      context - a context which contains SCM properties
      buildLogger - the logger to use
  • Method Details

    • publish

      public void publish(io.jenkins.plugins.checks.api.ChecksDetails details)
      Publishes a GitHub check run.
      Specified by:
      publish in class io.jenkins.plugins.checks.api.ChecksPublisher
      Parameters:
      details - the details of a check run