Package io.jenkins.plugins.checks.github
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
ConstructorDescriptionGitHubChecksPublisher
(GitHubChecksContext context, io.jenkins.plugins.util.PluginLogger buildLogger) Creates a new instance of GitHubChecksPublisher. -
Method Summary
Modifier and TypeMethodDescriptionvoid
publish
(io.jenkins.plugins.checks.api.ChecksDetails details) Publishes a GitHub check run.
-
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 propertiesbuildLogger
- 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 classio.jenkins.plugins.checks.api.ChecksPublisher
- Parameters:
details
- the details of a check run
-