public class SleepBuilder
extends hudson.tasks.Builder
Builder
that just sleeps for the specified amount of milli-seconds.Modifier and Type | Class and Description |
---|---|
static class |
SleepBuilder.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
long |
time |
Constructor and Description |
---|
SleepBuilder(long time) |
Modifier and Type | Method and Description |
---|---|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getDescriptor, getRequiredMonitorService, prebuild
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
InterruptedException
IOException
Copyright © 2004–2022. All rights reserved.