public interface BuildNotifier
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled()
Determine whether notifier is enabled
|
void |
notifyBuildStageStatus(String jobName,
String nodeName,
BuildState buildState,
long nodeDuration)
Send a state change with timing info
|
void |
notifyBuildState(String jobName,
String nodeName,
BuildState buildState)
Send a state change
|
void |
notifyFinalBuildStatus(String jobName,
BuildState buildState,
long buildDuration)
Send a notification when the job is complete
|
void |
sendNonStageError(String jobName,
String nodeName)
Sends a notification for an error regardless of whether initial pending
status was sent.
|
boolean isEnabled()
void notifyBuildState(String jobName, String nodeName, BuildState buildState)
jobName - the name of the jobnodeName - the node that has changedbuildState - the new statevoid notifyBuildStageStatus(String jobName, String nodeName, BuildState buildState, long nodeDuration)
jobName - the name of the jobnodeName - the node that has changedbuildState - the new statenodeDuration - elapsed time for this nodevoid notifyFinalBuildStatus(String jobName, BuildState buildState, long buildDuration)
jobName - the name of the jobbuildState - state indicating success or failurebuildDuration - the build durationvoid sendNonStageError(String jobName, String nodeName)
jobName - the name of the jobnodeName - the name of the node that failedCopyright © 2016–2018. All rights reserved.