public class SiteMonitorRecorder
extends hudson.tasks.Recorder
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
SiteMonitorRecorder(List<Site> sites)
Construct
SiteMonitorRecorder. |
| Modifier and Type | Method and Description |
|---|---|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
Gets the required monitor service.
|
List<Site> |
getSites() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Performs the web site monitoring by checking the response code of the site's URL.
|
all, getProjectAction, needsToRunAfterFinalized, prebuildpublic SiteMonitorRecorder(List<Site> sites)
SiteMonitorRecorder.sites - the list of web sites to monitorpublic final boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerbuild - the buildlauncher - the launcherlistener - the listenerInterruptedException - when there's an interruptionIOException - when there's an IO errorpublic final hudson.tasks.BuildStepMonitor getRequiredMonitorService()
Copyright © 2016–2019. All rights reserved.