Class DefaultStatusResultSource
java.lang.Object
hudson.model.AbstractDescribableImpl<GitHubStatusResultSource>
org.jenkinsci.plugins.github.extension.status.GitHubStatusResultSource
org.jenkinsci.plugins.github.status.sources.DefaultStatusResultSource
- All Implemented Interfaces:
ExtensionPoint,Describable<GitHubStatusResultSource>
Default way to report about build results.
Reports about time and build status
- Since:
- 1.19.0
- Author:
- lanwen (Merkushev Kirill)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class org.jenkinsci.plugins.github.extension.status.GitHubStatusResultSource
GitHubStatusResultSource.StatusResultNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
DefaultStatusResultSource
@DataBoundConstructor public DefaultStatusResultSource()
-
-
Method Details
-
get
public GitHubStatusResultSource.StatusResult get(@NonNull Run<?, ?> run, @NonNull TaskListener listener) throws IOException, InterruptedException- Specified by:
getin classGitHubStatusResultSource- Parameters:
run- actual runlistener- run listener- Returns:
- bean with state and already expanded message
- Throws:
IOExceptionInterruptedException
-