public class UiPathDeploy
extends hudson.tasks.Recorder
implements jenkins.tasks.SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
UiPathDeploy.DescriptorImpl
Publisher . |
hudson.tasks.Publisher.DescriptorExtensionListImpl
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
UiPathDeploy(String packagePath,
String orchestratorAddress,
String orchestratorTenant,
String credentialsId)
Data bound constructor which is responsible for setting/saving of the values provided by the user
|
Modifier and Type | Method and Description |
---|---|
String |
getCredentialsId()
Credentials ID, appearing as choice and will be responsible to extract credentials and use for orchestrator connection
|
String |
getOrchestratorAddress()
Provides base orchestrator URL
|
String |
getOrchestratorTenant()
Orchestrator Tenant
|
String |
getPackagePath()
nupkg path which has to be uploaded
|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
Declares the scope of the synchronization monitor this
BuildStep expects from outside. |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath filePath,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Run this step.
|
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, perform, prebuild
@DataBoundConstructor public UiPathDeploy(String packagePath, String orchestratorAddress, String orchestratorTenant, String credentialsId)
packagePath
- Package PathorchestratorAddress
- UiPath Orchestrator base URLorchestratorTenant
- UiPath Orchestrator base URLcredentialsId
- UiPath Orchestrator Credential Idpublic String getCredentialsId()
public String getPackagePath()
public String getOrchestratorAddress()
public String getOrchestratorTenant()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
BuildStep
expects from outside.
BuildStepMonitor.NONE
No external synchronization is performed on this build step. This is the most efficient, and thus
the recommended value for newer plugins. Wherever necessary, you can directly use CheckPoint
s
to perform necessary synchronizations.getRequiredMonitorService
in interface hudson.tasks.BuildStep
public void perform(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath filePath, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
run
- a build this is running as a part offilePath
- a workspace to use for any file operationslauncher
- a way to start processeslistener
- a place to send outputInterruptedException
- if the step is interruptedIOException
- if something goes wrongCopyright © 2016–2019. All rights reserved.