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, start
public 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
AzureCloudException
public org.jenkinsci.plugins.workflow.steps.StepExecution startImpl(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
startImpl
in class com.microsoft.jenkins.azurecommons.command.BaseCommandContext
Exception
public com.microsoft.jenkins.azurecommons.command.IBaseCommandData getDataForCommand(com.microsoft.jenkins.azurecommons.command.ICommand command)
getDataForCommand
in interface com.microsoft.jenkins.azurecommons.command.ICommandServiceData
getDataForCommand
in class com.microsoft.jenkins.azurecommons.command.BaseCommandContext
public String getFilePath()
getFilePath
in interface FileDeployCommand.IFileDeployCommandData
getFilePath
in interface FTPDeployCommand.IFTPDeployCommandData
getFilePath
in interface GitDeployCommand.IGitDeployCommandData
public String getSourceDirectory()
getSourceDirectory
in interface FileDeployCommand.IFileDeployCommandData
getSourceDirectory
in interface FTPDeployCommand.IFTPDeployCommandData
getSourceDirectory
in interface GitDeployCommand.IGitDeployCommandData
public String getTargetDirectory()
getTargetDirectory
in interface FTPDeployCommand.IFTPDeployCommandData
getTargetDirectory
in interface GitDeployCommand.IGitDeployCommandData
public String getPublishType()
public com.microsoft.azure.management.appservice.PublishingProfile getPublishingProfile()
getPublishingProfile
in interface FTPDeployCommand.IFTPDeployCommandData
getPublishingProfile
in interface GitDeployCommand.IGitDeployCommandData
public DockerBuildInfo getDockerBuildInfo()
getDockerBuildInfo
in interface DockerBuildCommand.IDockerBuildCommandData
getDockerBuildInfo
in interface DockerDeployCommand.IDockerDeployCommandData
getDockerBuildInfo
in interface DockerPushCommand.IDockerPushCommandData
getDockerBuildInfo
in interface DockerRemoveImageCommand.IDockerRemoveImageCommandData
public DockerClientBuilder getDockerClientBuilder()
getDockerClientBuilder
in interface DockerBuildCommand.IDockerBuildCommandData
getDockerClientBuilder
in interface DockerPushCommand.IDockerPushCommandData
getDockerClientBuilder
in interface DockerRemoveImageCommand.IDockerRemoveImageCommandData
public com.microsoft.azure.management.appservice.WebApp getWebApp()
getWebApp
in interface DockerDeployCommand.IDockerDeployCommandData
getWebApp
in interface FileDeployCommand.IFileDeployCommandData
public com.microsoft.azure.management.appservice.WebAppBase getWebAppBase()
getWebAppBase
in interface FTPDeployCommand.IFTPDeployCommandData
getWebAppBase
in interface GitDeployCommand.IGitDeployCommandData
public String getSlotName()
getSlotName
in interface DockerDeployCommand.IDockerDeployCommandData
getSlotName
in interface FileDeployCommand.IFileDeployCommandData
public String getAzureCredentialsId()
getAzureCredentialsId
in interface DockerDeployCommand.IDockerDeployCommandData
public String getSubscriptionId()
public void setSubscriptionId(String subscriptionId)
Copyright © 2016–2021. All rights reserved.