public class QuickTaskContext extends AbstractQuickTaskContext
ICommand
to perform the goal.Constructor and Description |
---|
QuickTaskContext() |
Modifier and Type | Method and Description |
---|---|
QuickTaskContext |
cancel() |
protected QuickTaskContext |
configure(hudson.model.Run<?,?> aRun,
hudson.FilePath aWorkspace,
hudson.Launcher aLauncher,
hudson.model.TaskListener aTaskListener)
Configure steps the plugin should execute.
|
com.microsoft.jenkins.azurecommons.command.IBaseCommandData |
getDataForCommand(com.microsoft.jenkins.azurecommons.command.ICommand iCommand) |
GitSCMRequest |
getGitSCMRequest()
GitSCMCommand.IGitSCMData . |
LocalSCMRequest |
getLocalSCMRequest()
LocalSCMCommand.ILocalSCMData . |
RemoteTarballSCMRequest |
getTarballRequest()
TarballSCMCommand.ITarballSCMData . |
boolean |
isCanceled() |
org.jenkinsci.plugins.workflow.steps.StepExecution |
startImpl(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) |
QuickTaskContext |
withDockerTaskRequest(DockerTaskRequest pDockerTaskRequest) |
QuickTaskContext |
withRegistryName(String pRegistryName) |
QuickTaskContext |
withResourceGroupName(String pResourceGroupName)
GetBuildLogCommand.IBuildLogData . |
QuickTaskContext |
withSCMUrl(String url)
AbstractSCMCommand.ISCMData . |
configure, configure, executeCommands, getCommandService, getCommandState, getEnvVars, getJobContext, getLastCommandState, logError, logError, logError, logStatus, setCommandState, setLastCommandState, start
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDockerTaskRequest, getRegistryName, getResourceGroupName, setBuildId
getBuildId, getRegistryName, getResourceGroupName
getRegistryName, getResourceGroupName
protected QuickTaskContext configure(hudson.model.Run<?,?> aRun, hudson.FilePath aWorkspace, hudson.Launcher aLauncher, hudson.model.TaskListener aTaskListener)
aRun
- a build this is running as a part ofaWorkspace
- a workspace to use for any file operationsaLauncher
- a way to start processesaTaskListener
- a place to send outputpublic org.jenkinsci.plugins.workflow.steps.StepExecution startImpl(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) 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 iCommand)
getDataForCommand
in interface com.microsoft.jenkins.azurecommons.command.ICommandServiceData
getDataForCommand
in class com.microsoft.jenkins.azurecommons.command.BaseCommandContext
public QuickTaskContext withSCMUrl(String url)
AbstractSCMCommand.ISCMData
.public QuickTaskContext withResourceGroupName(String pResourceGroupName)
GetBuildLogCommand.IBuildLogData
.public QuickTaskContext withDockerTaskRequest(DockerTaskRequest pDockerTaskRequest)
public QuickTaskContext withRegistryName(String pRegistryName)
public QuickTaskContext cancel()
public boolean isCanceled()
public GitSCMRequest getGitSCMRequest()
GitSCMCommand.IGitSCMData
.public RemoteTarballSCMRequest getTarballRequest()
TarballSCMCommand.ITarballSCMData
.public LocalSCMRequest getLocalSCMRequest()
LocalSCMCommand.ILocalSCMData
.Copyright © 2016–2021. All rights reserved.