public class SDElements
extends hudson.tasks.Publisher
implements jenkins.tasks.SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
SDElements.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpl
Constructor and Description |
---|
SDElements(int projectId,
String connectionName) |
Modifier and Type | Method and Description |
---|---|
String |
getConnectionName() |
int |
getProjectId() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
boolean |
isMarkUnstable() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath filePath,
hudson.Launcher launcher,
hudson.model.TaskListener taskListener) |
void |
setMarkUnstable(boolean markUnstable) |
all, getDescriptor, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, perform, prebuild
@DataBoundConstructor public SDElements(int projectId, String connectionName)
public int getProjectId()
public String getConnectionName()
public void perform(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath filePath, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener taskListener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
InterruptedException
IOException
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
public boolean isMarkUnstable()
@DataBoundSetter public void setMarkUnstable(boolean markUnstable)
Copyright © 2016–2018. All rights reserved.