public class OntrackBuildNotifier extends AbstractOntrackNotifier
Modifier and Type | Class and Description |
---|---|
static class |
OntrackBuildNotifier.OntrackBuildDescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpl
Constructor and Description |
---|
OntrackBuildNotifier(String project,
String branch,
String build,
boolean ignoreFailure,
boolean runInfo) |
Modifier and Type | Method and Description |
---|---|
String |
getBranch() |
String |
getBuild() |
String |
getProject() |
protected String |
getProjectPath(hudson.model.AbstractBuild<?,?> theBuild)
Gets the slash (/) separated path to the build.
|
boolean |
isIgnoreFailure() |
boolean |
isRunInfo() |
boolean |
perform(hudson.model.AbstractBuild<?,?> theBuild,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
getRequiredMonitorService, getRunInfo
all, getProjectAction, needsToRunAfterFinalized, prebuild
public String getProject()
public String getBranch()
public String getBuild()
public boolean isIgnoreFailure()
public boolean isRunInfo()
public boolean perform(hudson.model.AbstractBuild<?,?> theBuild, hudson.Launcher launcher, hudson.model.BuildListener listener) throws IOException, InterruptedException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
IOException
InterruptedException
protected String getProjectPath(hudson.model.AbstractBuild<?,?> theBuild)
theBuild
- Build to get the path forCopyright © 2016–2023. All rights reserved.