public class WebAppSwapSlotsRecorder
extends hudson.tasks.Recorder
implements jenkins.tasks.SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
WebAppSwapSlotsRecorder.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpl
jenkins.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, prebuild
getProjectAction, getProjectActions, perform, perform, prebuild
public 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.SimpleBuildStep
InterruptedException
IOException
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
Copyright © 2016–2021. All rights reserved.