public class WebAppSwapSlotsRecorder
extends hudson.tasks.Recorder
implements jenkins.tasks.SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
WebAppSwapSlotsRecorder.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpljenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Constructor and Description |
|---|
WebAppSwapSlotsRecorder(String azureCredentialsId,
String resourceGroup,
String appName,
String sourceSlotName,
String targetSlotName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppName() |
String |
getAzureCredentialsId() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getResourceGroup() |
String |
getSourceSlotName() |
String |
getTargetSlotName() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, perform, prebuildpublic String getAzureCredentialsId()
public String getResourceGroup()
public String getAppName()
public String getSourceSlotName()
public String getTargetSlotName()
public void perform(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform in interface jenkins.tasks.SimpleBuildStepInterruptedExceptionIOExceptionpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildStepCopyright © 2016–2021. All rights reserved.