public class WebAppDeploymentCommandContext extends com.microsoft.jenkins.azurecommons.command.BaseCommandContext implements FTPDeployCommand.IFTPDeployCommandData, GitDeployCommand.IGitDeployCommandData, FileDeployCommand.IFileDeployCommandData, DockerBuildCommand.IDockerBuildCommandData, DockerPushCommand.IDockerPushCommandData, DockerRemoveImageCommand.IDockerRemoveImageCommandData, DockerDeployCommand.IDockerDeployCommandData
| Modifier and Type | Field and Description |
|---|---|
static String |
PUBLISH_TYPE_DOCKER |
| Constructor and Description |
|---|
WebAppDeploymentCommandContext(String filePath) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
com.microsoft.azure.management.appservice.WebApp app) |
String |
getAzureCredentialsId() |
com.microsoft.jenkins.azurecommons.command.IBaseCommandData |
getDataForCommand(com.microsoft.jenkins.azurecommons.command.ICommand command) |
DockerBuildInfo |
getDockerBuildInfo() |
DockerClientBuilder |
getDockerClientBuilder() |
String |
getFilePath() |
com.microsoft.azure.management.appservice.PublishingProfile |
getPublishingProfile() |
String |
getPublishType() |
String |
getSlotName() |
String |
getSourceDirectory() |
String |
getSubscriptionId() |
String |
getTargetDirectory() |
com.microsoft.azure.management.appservice.WebApp |
getWebApp() |
com.microsoft.azure.management.appservice.WebAppBase |
getWebAppBase() |
void |
setAzureCredentialsId(String azureCredentialsId) |
void |
setDeleteTempImage(boolean deleteTempImage) |
void |
setDockerBuildInfo(DockerBuildInfo dockerBuildInfo) |
void |
setPublishType(String publishType) |
void |
setSkipDockerBuild(boolean skipDockerBuild) |
void |
setSlotName(String slotName) |
void |
setSourceDirectory(String sourceDirectory) |
void |
setSubscriptionId(String subscriptionId) |
void |
setTargetDirectory(String targetDirectory) |
org.jenkinsci.plugins.workflow.steps.StepExecution |
startImpl(org.jenkinsci.plugins.workflow.steps.StepContext context) |
configure, configure, executeCommands, getCommandService, getCommandState, getEnvVars, getJobContext, getLastCommandState, logError, logError, logError, logStatus, setCommandState, setLastCommandState, startpublic static final String PUBLISH_TYPE_DOCKER
public WebAppDeploymentCommandContext(String filePath)
public void setSourceDirectory(String sourceDirectory)
public void setTargetDirectory(String targetDirectory)
public void setSlotName(String slotName)
public void setPublishType(String publishType)
public void setDockerBuildInfo(DockerBuildInfo dockerBuildInfo)
public void setDeleteTempImage(boolean deleteTempImage)
public void setSkipDockerBuild(boolean skipDockerBuild)
public void setAzureCredentialsId(String azureCredentialsId)
public void configure(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
com.microsoft.azure.management.appservice.WebApp app)
throws AzureCloudException
AzureCloudExceptionpublic org.jenkinsci.plugins.workflow.steps.StepExecution startImpl(org.jenkinsci.plugins.workflow.steps.StepContext context)
throws Exception
startImpl in class com.microsoft.jenkins.azurecommons.command.BaseCommandContextExceptionpublic com.microsoft.jenkins.azurecommons.command.IBaseCommandData getDataForCommand(com.microsoft.jenkins.azurecommons.command.ICommand command)
getDataForCommand in interface com.microsoft.jenkins.azurecommons.command.ICommandServiceDatagetDataForCommand in class com.microsoft.jenkins.azurecommons.command.BaseCommandContextpublic String getFilePath()
getFilePath in interface FileDeployCommand.IFileDeployCommandDatagetFilePath in interface FTPDeployCommand.IFTPDeployCommandDatagetFilePath in interface GitDeployCommand.IGitDeployCommandDatapublic String getSourceDirectory()
getSourceDirectory in interface FileDeployCommand.IFileDeployCommandDatagetSourceDirectory in interface FTPDeployCommand.IFTPDeployCommandDatagetSourceDirectory in interface GitDeployCommand.IGitDeployCommandDatapublic String getTargetDirectory()
getTargetDirectory in interface FTPDeployCommand.IFTPDeployCommandDatagetTargetDirectory in interface GitDeployCommand.IGitDeployCommandDatapublic String getPublishType()
public com.microsoft.azure.management.appservice.PublishingProfile getPublishingProfile()
getPublishingProfile in interface FTPDeployCommand.IFTPDeployCommandDatagetPublishingProfile in interface GitDeployCommand.IGitDeployCommandDatapublic DockerBuildInfo getDockerBuildInfo()
getDockerBuildInfo in interface DockerBuildCommand.IDockerBuildCommandDatagetDockerBuildInfo in interface DockerDeployCommand.IDockerDeployCommandDatagetDockerBuildInfo in interface DockerPushCommand.IDockerPushCommandDatagetDockerBuildInfo in interface DockerRemoveImageCommand.IDockerRemoveImageCommandDatapublic DockerClientBuilder getDockerClientBuilder()
getDockerClientBuilder in interface DockerBuildCommand.IDockerBuildCommandDatagetDockerClientBuilder in interface DockerPushCommand.IDockerPushCommandDatagetDockerClientBuilder in interface DockerRemoveImageCommand.IDockerRemoveImageCommandDatapublic com.microsoft.azure.management.appservice.WebApp getWebApp()
getWebApp in interface DockerDeployCommand.IDockerDeployCommandDatagetWebApp in interface FileDeployCommand.IFileDeployCommandDatapublic com.microsoft.azure.management.appservice.WebAppBase getWebAppBase()
getWebAppBase in interface FTPDeployCommand.IFTPDeployCommandDatagetWebAppBase in interface GitDeployCommand.IGitDeployCommandDatapublic String getSlotName()
getSlotName in interface DockerDeployCommand.IDockerDeployCommandDatagetSlotName in interface FileDeployCommand.IFileDeployCommandDatapublic String getAzureCredentialsId()
getAzureCredentialsId in interface DockerDeployCommand.IDockerDeployCommandDatapublic String getSubscriptionId()
public void setSubscriptionId(String subscriptionId)
Copyright © 2016–2021. All rights reserved.