public class NaginatorListener
extends hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>
| Constructor and Description |
|---|
NaginatorListener() |
| Modifier and Type | Method and Description |
|---|---|
static int |
calculateRetryCount(hudson.model.Run<?,?> r) |
boolean |
canSchedule(hudson.model.Run build,
NaginatorPublisher naginator)
Deprecated.
use
NaginatorScheduleAction.shouldSchedule(Run, TaskListener, int)
to control scheduling. |
void |
onCompleted(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener) |
boolean |
scheduleBuild(hudson.model.AbstractBuild<?,?> build,
int n)
Deprecated.
use
NaginatorScheduleAction to make a build rescheduled. |
boolean |
scheduleMatrixBuild(hudson.model.AbstractBuild<?,?> build,
List<hudson.matrix.Combination> combinations,
int n)
Deprecated.
use
NaginatorScheduleAction to make a build rescheduled. |
hudson.model.Environment |
setUpEnvironment(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
public void onCompleted(hudson.model.AbstractBuild<?,?> build,
@Nonnull
hudson.model.TaskListener listener)
onCompleted in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>public hudson.model.Environment setUpEnvironment(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException,
hudson.model.Run.RunnerAbortedException
setUpEnvironment in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>IOExceptionInterruptedExceptionhudson.model.Run.RunnerAbortedException@Deprecated public boolean canSchedule(hudson.model.Run build, NaginatorPublisher naginator)
NaginatorScheduleAction.shouldSchedule(Run, TaskListener, int)
to control scheduling.public static int calculateRetryCount(@Nonnull hudson.model.Run<?,?> r)
@Deprecated public boolean scheduleMatrixBuild(hudson.model.AbstractBuild<?,?> build, List<hudson.matrix.Combination> combinations, int n)
NaginatorScheduleAction to make a build rescheduled.@Deprecated public boolean scheduleBuild(hudson.model.AbstractBuild<?,?> build, int n)
NaginatorScheduleAction to make a build rescheduled.Copyright © 2016–2019. All rights reserved.