public class GithubBuildNotifier extends BuildNotifier
DEFAULT_LONG, DEFAULT_STRING
Constructor and Description |
---|
GithubBuildNotifier(org.kohsuke.github.GHRepository repository,
String shaString,
String targetUrl)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled()
Determines whether this notifier is enabled.
|
void |
notifyBuildStageStatus(String jobName,
BuildStage stageItem)
Sends stage status notification to GitHub.
|
void |
notifyFinalBuildStatus(BuildStage.State buildState,
Map<String,Object> parameters)
Sends a notification when the job is complete.
|
all, getLong, wantsOutOfStageErrors
public boolean isEnabled()
isEnabled
in class BuildNotifier
public void notifyBuildStageStatus(String jobName, BuildStage stageItem)
notifyBuildStageStatus
in class BuildNotifier
jobName
- the job namestageItem
- stage item describing the new statepublic void notifyFinalBuildStatus(BuildStage.State buildState, Map<String,Object> parameters)
notifyFinalBuildStatus
in class BuildNotifier
buildState
- state indicating success or failureparameters
- build parametersCopyright © 2016–2020. All rights reserved.