Class GitHubStatusContextSource

java.lang.Object
hudson.model.AbstractDescribableImpl<GitHubStatusContextSource>
org.jenkinsci.plugins.github.extension.status.GitHubStatusContextSource
All Implemented Interfaces:
ExtensionPoint, Describable<GitHubStatusContextSource>
Direct Known Subclasses:
DefaultCommitContextSource, ManuallyEnteredCommitContextSource

public abstract class GitHubStatusContextSource extends AbstractDescribableImpl<GitHubStatusContextSource> implements ExtensionPoint
Extension point to provide context of the state. For example `integration-tests` or `build`
Since:
1.19.0
Author:
lanwen (Merkushev Kirill)
  • Constructor Details

    • GitHubStatusContextSource

      public GitHubStatusContextSource()
  • Method Details

    • context

      public abstract String context(@NonNull Run<?,?> run, @NonNull TaskListener listener)
      Parameters:
      run - actual run
      listener - build listener
      Returns:
      simple short string to represent context of this state